...
|
...
|
@@ -117,6 +117,12 @@ module.exports = (env) => { |
|
|
}
|
|
|
}]
|
|
|
}, {
|
|
|
test: /\.js$/,
|
|
|
exclude: [/node_modules/],
|
|
|
use: [{
|
|
|
loader: 'happypack/loader?id=js'
|
|
|
}]
|
|
|
}, {
|
|
|
test: /\.css$/,
|
|
|
use: cssLoader(env, 'css')
|
|
|
}, {
|
...
|
...
|
@@ -145,6 +151,11 @@ module.exports = (env) => { |
|
|
},
|
|
|
plugins: [
|
|
|
new HappyPack({
|
|
|
id: 'js',
|
|
|
threadPool: happyThreadPool,
|
|
|
loaders: ['babel-loader'],
|
|
|
}),
|
|
|
new HappyPack({
|
|
|
id: 'hbs',
|
|
|
threadPool: happyThreadPool,
|
|
|
loaders: [hbsLoader]
|
...
|
...
|
|