Open Hirurg103 opened 6 years ago
I am trying to set up css-split-webpack-plugin in my Rails application. It uses webpack-manifest-plugin to generate manifest.
css-split-webpack-plugin
When I compile my main.css file it gets splitted into two files:
but into the manifest is added the second file only:
cat public/packs/manifest.json => ... "main.css": "/packs/main-ba361f9ac7a251e81763-2.css", "main.css.map": "/packs/main-ba361f9ac7a251e81763-2.css.map", ...
Is it possible to fix this issue and include into the manifest both files? Like this:
... "main-1.css": "/packs/main-ba361f9ac7a251e81763-1.css", "main-1.css.map": "/packs/main-ba361f9ac7a251e81763-1.css.map", "main-2.css": "/packs/main-ba361f9ac7a251e81763-2.css", "main-2.css.map": "/packs/main-ba361f9ac7a251e81763-2.css.map", ...
Hello guys, do you have any thoughts on this?
I am trying to set up
css-split-webpack-plugin
in my Rails application. It uses webpack-manifest-plugin to generate manifest.When I compile my main.css file it gets splitted into two files:
but into the manifest is added the second file only:
Is it possible to fix this issue and include into the manifest both files? Like this: