summaryrefslogtreecommitdiff
path: root/webpackBaseConfig.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpackBaseConfig.js')
-rw-r--r--webpackBaseConfig.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js
index 400db14b..5c715cc2 100644
--- a/webpackBaseConfig.js
+++ b/webpackBaseConfig.js
@@ -373,6 +373,10 @@ module.exports = {
test: /\.json$/,
loader: 'json-loader'
}, {
+ test: /\.js$/,
+ loader: 'babel',
+ exclude: [/node_modules/, /public\/vendor/]
+ }, {
test: /\.css$/,
loader: ExtractTextPlugin.extract('style-loader', 'css-loader')
}, {