diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-06 00:24:23 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-06 00:24:23 -0600 |
commit | b5d2edabd88dd875e69ab1b37abac9627c8ff697 (patch) | |
tree | cbd284102c001a8929be7d1c602491da04635f25 | |
parent | 61ef5f0edd746c86d8545ceb9c0bebc9eabdbcf0 (diff) | |
download | gitlab-ce-b5d2edabd88dd875e69ab1b37abac9627c8ff697.tar.gz |
transpile all javascript files with babel
-rw-r--r-- | config/webpack.config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 7cd92af7d93..a156756f9ff 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -49,8 +49,8 @@ var config = { module: { loaders: [ { - test: /\.es6$/, - exclude: /node_modules/, + test: /\.(js|es6)$/, + exclude: /(node_modules|vendor\/assets)/, loader: 'babel-loader', query: { // 'use strict' was broken in sprockets-es6 due to sprockets concatination method. |