preload-webpack-plugin icon indicating copy to clipboard operation
preload-webpack-plugin copied to clipboard

assets'path inject incorrent

Open gapkukb opened this issue 5 years ago • 0 comments

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 !

gapkukb avatar Aug 13 '20 15:08 gapkukb