diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-15 12:29:46 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-15 12:34:13 +0100 |
commit | 86b4f49c8c76a322d2f12f61e5a2d27d3c5c4671 (patch) | |
tree | 3c4a65f14ad81b80e8cd62d3df47d0eae19562d2 /config | |
parent | 69e49a095ded719ccfb1287b6100646663de3f03 (diff) | |
download | gitlab-ce-86b4f49c8c76a322d2f12f61e5a2d27d3c5c4671.tar.gz |
Removed rewire and fixed tests
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 79c1d66a242..2153c8bbaf2 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -15,7 +15,6 @@ var DEV_SERVER_HOST = process.env.DEV_SERVER_HOST || 'localhost'; var DEV_SERVER_PORT = parseInt(process.env.DEV_SERVER_PORT, 10) || 3808; var DEV_SERVER_LIVERELOAD = process.env.DEV_SERVER_LIVERELOAD !== 'false'; var WEBPACK_REPORT = process.env.WEBPACK_REPORT; -var rewirePlugin = IS_PRODUCTION ? '?plugins=rewire' : ''; var config = { context: path.join(ROOT_PATH, 'app/assets/javascripts'), @@ -69,7 +68,7 @@ var config = { { test: /\.js$/, exclude: /(node_modules|vendor\/assets)/, - loader: `babel-loader${rewirePlugin}`, + loader: 'babel-loader', }, { test: /\.vue$/, |