summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-04-06 15:45:12 -0500
committerMike Greiling <mike@pixelcog.com>2017-04-09 15:22:53 -0500
commit0ca62a680ccdfa0e40699436cb9407bf3283884b (patch)
treeed6eac2ea18b7729f05bccd6418968b55101e639 /config
parent6c547e3142744e60d8ed413c48f1fba2eefa1d8f (diff)
downloadgitlab-ce-0ca62a680ccdfa0e40699436cb9407bf3283884b.tar.gz
clean up webpack config
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js11
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',
},