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 file size increases 291 kB -> 314 kB upon upgrading from v0.25.0 to v0.28.0 #476

Closed
elfey opened this issue Apr 6, 2017 · 1 comment

Comments

@elfey
Copy link

elfey commented Apr 6, 2017

Do you want to request a feature or report a bug?

Bug.

What is the current behavior?
For some reason upon upgrading to v0.28.0 of css-loader from v0.25.0, our project's build size increased from 291 kB to 314 kB. This doesn't make sense... why is a loader for CSS increasing our JS build size when we're exporting it to CSS?

If the current behavior is a bug, please provide the steps to reproduce.

Take any JavaScript project, and build with both versions of css loader (v0.25.0 and v0.28.0)

What is the expected behavior?
It shouldn't touch the JS, we're exporting it to a separate file.

Please mention other relevant information such as your webpack version, Node.js version and Operating System.
Webpack 2.2.0
Tested on Node 6.9.10 and 7.7.3
Mac OS 10.12.4

@michael-ciniawsky
Copy link
Member

Duplicate of #454

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

2 participants