happypack
happypack copied to clipboard
error with mini-css-extract-plugin
using with happypack it will throw TypeError: Cannot read property 'outputOptions' of undefined
I wonder if you could help me with this problem
this is my webpack config
//plugin
new HappyPack(HappyPackCfg.sass),
module.exports.sass = {
id: 'sass',
threadPool: happyThreadPool,
verbose: false,
loaders: [loader.cssHot,loader.cssExtract,loader.css, loader.postcss, loader.sass]
};
//rule
{
test: /\.s[c|a]ss$/,
use: [ getModulePath('happypack/loader?id=sass')]
}
//loader
module.exports.sass = {
id: 'sass',
threadPool: happyThreadPool,
verbose: false,
loaders: [loader.css-hot-loader,loader.mini-css-extract-plugin,loader.css, loader.postcss, loader.sass]
};
mini-css-extract-plugin: 0.4.2 webpack:4.18 happypack:5.00
Getting this error as well, similar configuration
https://github.com/webpack-contrib/mini-css-extract-plugin/issues/273 the same issue in different repo
#223 maybe the same
get this error as well
Has this bug been fixed?
Got this error as well, have no idea how to fix it
hi guys, any update about this issue?
any news please ?
the same
just like this:
{
test: /.css$/,
use: [cssLoader, 'happypack/loader?id=css'],
},