autodll-webpack-plugin icon indicating copy to clipboard operation
autodll-webpack-plugin copied to clipboard

AutoDLL not working in NextJS

Open imranweb opened this issue 5 years ago • 1 comments

I have tried implementing autodll in nextjs environment but its not excluding the vendor pages from chunks such as main.js, common.js, app.js, index.js.

config.plugins.push( new AutoDllPlugin({ inject: true, // will inject the DLL bundles to index.html filename: '[name].js', entry: { vendor: [ 'react', 'react-dom', 'styled-components', ] } }) );

imranweb avatar Apr 25 '19 11:04 imranweb

That's because we already use this plugin internally in Next.js

dav-is avatar May 29 '19 20:05 dav-is