summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-02-24 18:35:25 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-02-24 18:35:25 +0000
commitaf5093ca1e59148fbc40b9055c655c7d8db6afe9 (patch)
tree340fe5fc7b9536286b789cbca4787fa869eafde0 /config
parent52ceaa2406d48151c4158efd46032767bdd8ad1c (diff)
downloadgitlab-ce-af5093ca1e59148fbc40b9055c655c7d8db6afe9.tar.gz
Adds loader to load SVG
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index e754f68553a..a754cdd1fd1 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -63,6 +63,10 @@ var config = {
'stage-2'
]
}
+ },
+ {
+ test: /\.svg$/,
+ use: 'raw-loader'
}
]
},