Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

assets'path inject incorrent #128

Open
gapkukb opened this issue Aug 13, 2020 · 0 comments
Open

assets'path inject incorrent #128

gapkukb opened this issue Aug 13, 2020 · 0 comments

Comments

@gapkukb
Copy link

gapkukb commented Aug 13, 2020

Now I have a project base on multiple pages . and I set the html file ouput diffrent directory . The html-webpack-plugin is working corrent for the replative path . but the preload-webpack-plugin get a incorrent relative path .

image

The "../../" path injected by html-webpack-plugin is corrent
There have two quesetions :

  1. I want the same replative path with "../.." was injected to preload
  2. "b.css","c.css" is others page's assets , They're not supposed to be here by inject

Anybody has some suggetions ?
Thanks all !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant