Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to get css-split-webpack-plugin working with webpack-manifest-plugin? #27

Open
Hirurg103 opened this issue Feb 26, 2018 · 1 comment

Comments

@Hirurg103
Copy link

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:

  • main-ba361f9ac7a251e81763-1.css
  • main-ba361f9ac7a251e81763-2.css

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",
...
@Hirurg103
Copy link
Author

Hello guys, do you have any thoughts on this?

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

No branches or pull requests

1 participant