diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-03-15 18:31:01 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-03-15 18:31:01 -0500 |
commit | 95d38ac9f97e80a26aac8026a4d38a54fbdc98e8 (patch) | |
tree | 26a92aae77b23933626af819a4363552b0e1b824 /config | |
parent | 68e40bd49fde7b790bb31b9ac85a249bedd817d2 (diff) | |
download | gitlab-ce-95d38ac9f97e80a26aac8026a4d38a54fbdc98e8.tar.gz |
remove all references to the .es6 in our config files and documentationremove-es6-extension-configuration
Diffstat (limited to 'config')
-rw-r--r-- | config/karma.config.js | 2 | ||||
-rw-r--r-- | config/webpack.config.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/karma.config.js b/config/karma.config.js index a23e62f5022..c1d3751d88f 100644 --- a/config/karma.config.js +++ b/config/karma.config.js @@ -36,7 +36,7 @@ module.exports = function(config) { { pattern: 'spec/javascripts/fixtures/**/*@(.json|.html|.html.raw)', included: false }, ], preprocessors: { - 'spec/javascripts/**/*.js?(.es6)': ['webpack', 'sourcemap'], + 'spec/javascripts/**/*.js': ['webpack', 'sourcemap'], }, reporters: [progressReporter, 'coverage-istanbul'], coverageIstanbulReporter: { diff --git a/config/webpack.config.js b/config/webpack.config.js index 8e2b11a4145..cbcc9ac5aea 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -56,7 +56,7 @@ var config = { module: { rules: [ { - test: /\.(js|es6)$/, + test: /\.js$/, exclude: /(node_modules|vendor\/assets)/, loader: 'babel-loader', options: { @@ -130,7 +130,7 @@ var config = { ], resolve: { - extensions: ['.js', '.es6', '.js.es6'], + extensions: ['.js'], alias: { '~': path.join(ROOT_PATH, 'app/assets/javascripts'), 'emojis': path.join(ROOT_PATH, 'fixtures/emojis'), |