You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This AutoDLLPlugin should dramatically speed up HMR. The question is how to generically incorporate it into Razzle. As we are in isomorphic land, it's hard to know if a dep is meant for node-only. AFAIK this means we'd have to let users specify which packages to include.
I tried to add AutoDLL plugin, it works only on the initial render, but after HMR it breaks an app with an error like "could not find dll-reference". However, dll script was inserted.
Also, a special field for AutoDLL (and CommonChunksPlugin) in razzle.config.js looks good
This AutoDLLPlugin should dramatically speed up HMR. The question is how to generically incorporate it into Razzle. As we are in isomorphic land, it's hard to know if a dep is meant for node-only. AFAIK this means we'd have to let users specify which packages to include.
Idea 1: Special field in
razzle.config.js
Idea 2: Special Razzle package
I opt for 2 personally. Want to open this up for discussion though.
The text was updated successfully, but these errors were encountered: