-
Notifications
You must be signed in to change notification settings - Fork 8
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
Force extraction of entry if specified explicitly #16
Comments
could this be what's causing this error:
|
@NullVoxPopuli Can you please attach your webpack configuration, or an excerpt of it? Also can you please provide your webpack, node and css-entry-webpack-plugin versions? |
warning - walls of text: I have stuff commented out right now for CssEntryPlugin. The build technically works as-is, but my global-styles are not seperated from my component styles (the idea here is that global styles would change less frequently). I think it's not working, because my application.scss is a scss file. :- config/webpack/main.config.js
package.json dev-deps (no deps)
Dockerfile
docker-compose.yml
|
Thank you @NullVoxPopuli! I think this issue is because you use ExtractTextPlugin on all .scss files and CssEntryPlugin can't extract them properly (as they were already extracted). Unfortunately I can't test it out right now, but it seems that this is the problem. As a workaround (until I can fix it) I propose you add an explicit rule for the files inside your "styles" bundle: |
If an entry is specified to be included explicitly using "entries" option, ignore the fact that non-CSS resources are specified in the entry.
The text was updated successfully, but these errors were encountered: