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
if (staticImportedScan(id, getModuleInfo, new Map(), [])) {
return "vendor";
} else {
return "async-vendor";
}
Currently, this produces very large vendor / async-vendor (2MB+) bundles for me. This might be better if these could possibly:
Returned undefined for default rollup splitting logic.
Return the name of the npm package, such as lodash or date-fns ( returning undefined might actually do this? )
Of course, people like options, so if there is some way to turn this into a new option on the plugin, that is always ideal so folks can opt-in to the behavior they would like.
The text was updated successfully, but these errors were encountered:
I could use customSplitting, but then every user ( and myself ) has to remember to add every dependency added to the project to the array, and it's inevitable that one will be forgotten at some point unless it's automated.
Currently, this produces very large vendor / async-vendor (2MB+) bundles for me. This might be better if these could possibly:
lodash
ordate-fns
( returning undefined might actually do this? )Of course, people like options, so if there is some way to turn this into a new option on the plugin, that is always ideal so folks can opt-in to the behavior they would like.
The text was updated successfully, but these errors were encountered: