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
It does not seem like a bundle can be loaded lazily or otherwise (So I am not sure how you would load Profile/Feed).
How does one achieve loading multiple entry points over some router?
// webpack.config.jsvarwebpack=require('webpack');varcommonsPlugin=newwebpack.optimize.CommonsChunkPlugin('common.js');module.exports={entry: {Profile: './profile.js',// go to profile page—load ProfileFeed: './feed.js'// go to feed page—load Feed},output: {path: 'build',filename: '[name].js'// Template based on keys in entry above},plugins: [commonsPlugin]};
The text was updated successfully, but these errors were encountered:
It does not seem like a bundle can be loaded lazily or otherwise (So I am not sure how you would load Profile/Feed).
How does one achieve loading multiple entry points over some router?
The text was updated successfully, but these errors were encountered: