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

JS code build in production doesn't get executed #50

Closed
Sija opened this issue Oct 20, 2018 · 1 comment
Closed

JS code build in production doesn't get executed #50

Sija opened this issue Oct 20, 2018 · 1 comment

Comments

@Sija
Copy link
Contributor

Sija commented Oct 20, 2018

Since version 0.1.0 JS code is never executed (it works just fine in development), though the bundle.js looks okay-ish. Maybe webpack modules are not loaded for some reason?

@Sija
Copy link
Contributor Author

Sija commented Oct 20, 2018

After hours of debugging I've found the issue (refs webpack/webpack#6797 & webpack-contrib/mini-css-extract-plugin#147). Commenting out chunks: 'all' does work and leftover files from #49 are not being generated, although I'm not sure it's a proper solution since bundle.css contains now both, unminified (extracted css) and minifed code together...

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