-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
Rewrites the whole bundle every time? #105
Comments
It's been three months, so I don't know if you still have this issue, but:
With "dev server config", they essentially mean your |
I'm closing this issue because of inactivity. Feel free to comment, and we can always re-open it again. |
Having the same problem using webpack-dev-middleware with express, webpack just emmitted all the chunk every time when modify a single file,and make rebuild slow. So , is there any way to solve this problem ? I just want to know why webpack seems like do not having cache the compiled file when using webpack-dev-middleware? |
me too. |
@chaserstrong please do not post "me too" or "same" replies. instead, use the reaction button on the top right of the post you agree with or want to show support for. |
@shellscape i mean i have the same problem and have no idea how to solve it. |
Yes, I understood. Please use the reaction buttons instead of making replies like those. They don't contribute anything to the issue. |
I'm trying to debug why my webpack build time and hot reload time are so large (10-30 seconds per reload). I filed the original ticket: webpack/webpack#2552
I have many large asset files that are processed through webpack. I put them in a separate entry module:
and that
assets.js
file requires all of the large files:@sokra mentioned in the above linked ticket that the file watcher should not re-create the large assets in the bundle. However it appears that when using this webpack-dev-middleware, they are re-created every time.
I've looked into using the DLLPlugin but the docs for dllplugin say to use DLLReferencePlugin in the dev server config, buutttt it doesn't look like dev server config is exposed in this library? I might just be misreading the README.
So I'm trying to figure out if I can avoid my whole ~50mb bundle from being re-written every time with this library, and if it's possible to use this library with the DLLPlugin.
The text was updated successfully, but these errors were encountered: