diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-04-06 15:45:12 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-04-09 15:22:53 -0500 |
commit | 0ca62a680ccdfa0e40699436cb9407bf3283884b (patch) | |
tree | ed6eac2ea18b7729f05bccd6418968b55101e639 /config | |
parent | 6c547e3142744e60d8ed413c48f1fba2eefa1d8f (diff) | |
download | gitlab-ce-0ca62a680ccdfa0e40699436cb9407bf3283884b.tar.gz |
clean up webpack config
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 7a570836d01..873c7b1d4ef 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -65,17 +65,18 @@ var config = { { test: /\.js$/, exclude: /(node_modules|vendor\/assets)/, - loader: 'babel-loader' + loader: 'babel-loader', }, { test: /\.vue$/, - use: 'vue-loader' + loader: 'vue-loader', }, { test: /\.svg$/, - use: 'raw-loader' - }, { - test: /\.(worker.js|pdf)$/, + loader: 'raw-loader', + }, + { + test: /\.(worker\.js|pdf)$/, exclude: /node_modules/, loader: 'file-loader', }, |