按照官方merge了vux-loader之后,如果用happypack处理vue-loader页面出不来
Imagine-Klaus opened this issue · 0 comments
Imagine-Klaus commented
- webpack 版本 3.11.0
- vux 2.9.2
happyPack config in webpack.dev.conf.js
plugins: [
new HappyPack({
id: 'vueLoader',
loaders: [{
loader: 'vue-loader',
options: require('./vue-loader.conf')
}],
debug: true
})
]
...
..
module.exports = vuxLoader.merge(webpackConfig, { plugins: ['vux-ui'] });
use happyPack in webpack.base.conf.js
{
test: /\.vue$/,
use: ['happypack/loader?id=vueLoader'],
options: vueLoaderConfig
},
不知道是否和使用的vux有关系 但是使用了happyPack之后页面空白且没有报错