summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack.config.js')
-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',
},