summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-06 00:24:23 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-06 00:24:23 -0600
commitb5d2edabd88dd875e69ab1b37abac9627c8ff697 (patch)
treecbd284102c001a8929be7d1c602491da04635f25
parent61ef5f0edd746c86d8545ceb9c0bebc9eabdbcf0 (diff)
downloadgitlab-ce-b5d2edabd88dd875e69ab1b37abac9627c8ff697.tar.gz
transpile all javascript files with babel
-rw-r--r--config/webpack.config.js4
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.