amireh / happypack

Happiness in the form of faster webpack build times.
MIT License
4.23k stars 124 forks source link

happypack and scoped/postcss-loader conflict? #259

Open tichenchen opened 4 years ago

tichenchen commented 4 years ago

{ test: /\.(less|css)$/, use: [ 'vue-style-loader', 'happypack/loader?id=css' ] }

new HappyPack({ id: 'css', loaders: [ { loader: 'css-loader', }, { loader: 'postcss-loader', }, { loader: 'less-loader', options: { javascriptEnabled: true } } ], threadPool, verbose: false })

The class styles of different files will overwrite each other。 Scoped is invalid。