-
Notifications
You must be signed in to change notification settings - Fork 512
Re-build time issue with webpack v3.0.0 #561
Comments
@raiprabh - This issue will be fully resolved with #553 which is waiting on a fix in Webpack ( it's listed in the PR ). I can't tell from what is listed but you need to be on I'm going to leave this issue open for the time being, once the upstream fix & the update in etwp land, we can revisit this to see if there is still an issue with rebuild times. |
@raiprabh can your update to |
@evilebottnawi - I evidently missed a |
@d3viant0ne seems yep, now i migrate own repos to DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead. |
I'm activly working on this & trying to figure out what it's still rendering css in the wrong order |
@raiprabh - Please pick up |
@d3viant0ne - sure, i'll try it out and post my observations today. |
@d3viant0ne I still have the warning "DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead." My package.json: https://github.com/ova2/angular-development-with-primeng/blob/master/angular-primeng-seed-for-authors/package.json Simple try to execute |
@ova2 - I'm still seeing the deprecation warning as well, i'll get it sorted. |
@d3viant0ne I hope you can fix it ;-) Many thanks for your effort! |
So after seriously considering I was losing my mind this particular deprecation warning isn't coming from etwp. I'll go run it down & kill it with fire this evening. |
But if it's not coming from etwp, how do you want to kill it? -:)
|
@d3viant0ne FYI: The warning came from webpack-md5-hash. I've removed this plugin and the warning is gone. No issues with extract-text-webpack-plugin. |
@ova2 - Yeah, just keeping this open just until I have the PR open to md5 |
@raiprabh problem still exists? |
I migrated to
v3.0.0
from version 1.x and followed the official migration guide to do so. But the re-build time ofwebpack-dev-server
andwebpack watch
had increased significantly (from 3 seconds to 15 seconds). I downgraded tov2.6.1
, and the re-build time got back to what it was on version 1, using the same config file. Here is the config file that I am using:The only difference I see in the logs is:
DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead. at /node_modules/extract-text-webpack-plugin/index.js:271:24
which pops up when using
v3.0.0
but doesn't show any such warning withv2.6.1
.Which means it must be related to
extract-text-webpack-plugin
?The text was updated successfully, but these errors were encountered: