|
@@ -110,7 +110,7 @@ module.exports = (env) => { |
|
@@ -110,7 +110,7 @@ module.exports = (env) => { |
110
|
}, {
|
110
|
}, {
|
111
|
test: /\.js$/,
|
111
|
test: /\.js$/,
|
112
|
exclude: [/node_modules/],
|
112
|
exclude: [/node_modules/],
|
113
|
- use: env === 'dev' ? ['babel-loader'] : [{
|
113
|
+ use: [{
|
114
|
loader: 'happypack/loader?id=js'
|
114
|
loader: 'happypack/loader?id=js'
|
115
|
}]
|
115
|
}]
|
116
|
}, {
|
116
|
}, {
|
|
@@ -118,7 +118,7 @@ module.exports = (env) => { |
|
@@ -118,7 +118,7 @@ module.exports = (env) => { |
118
|
use: cssLoader(env, 'css')
|
118
|
use: cssLoader(env, 'css')
|
119
|
}, {
|
119
|
}, {
|
120
|
test: /\.hbs$/,
|
120
|
test: /\.hbs$/,
|
121
|
- use: env === 'dev' ? [hbsLoader] : [{
|
121
|
+ use: [{
|
122
|
loader: 'happypack/loader?id=hbs'
|
122
|
loader: 'happypack/loader?id=hbs'
|
123
|
}]
|
123
|
}]
|
124
|
}]
|
124
|
}]
|