shama / webpack-stream

:tropical_drink: Run webpack through a stream interface
MIT License
1.4k stars 123 forks source link

support optimization splitChunks #186

Open caiocaprio opened 6 years ago

caiocaprio commented 6 years ago

doubt, I can support 'optimization' to use the cache, something like:

optimization: { runtimeChunk: 'single', // runtimeChunk: false, // splitChunks: false, splitChunks: { cacheGroups: { 'public/js/vendors': { test: /[\\/]node_modules[\\/]/, name: 'public/js/vendors', enforce: true, chunks: 'all' } } } },

thetumper commented 6 years ago

See #180