extract-css-chunks-webpack-plugin
extract-css-chunks-webpack-plugin copied to clipboard
Support onlyLocals parameters in css-loader
if enable onlyLocals
in css-loader i get error. onlyLocals
remove generation css content in SSR
TypeError: Cannot read property 'length' of undefined
at CssModule.size (/Users/User/job/platform-cli/node_modules/extract-css-chunks-webpack-plugin/dist/index.js:58:25)
at Chunk.integratedSize (/Users/User/job/platform-cli/node_modules/webpack/lib/Chunk.js:548:42)
at orderedChunks.forEach (/Users/User/job/platform-cli/node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js:96:33)
at Array.forEach (<anonymous>)
at compilation.hooks.optimizeChunksAdvanced.tap.chunks (/Users/User/job/platform-cli/node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js:92:20)
at SyncBailHook.eval [as call] (eval at create (/Users/User/job/platform-cli/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:12:16)
at SyncBailHook.lazyCompileHook (/Users/User/job/platform-cli/node_modules/tapable/lib/Hook.js:154:20)
What about modules. IsonlyLocals still valid?