clean up webpack config

This commit is contained in:
Mike Greiling 2017-04-06 15:45:12 -05:00
parent 6c547e3142
commit 0ca62a680c

View file

@ -65,17 +65,18 @@ var config = {
{ {
test: /\.js$/, test: /\.js$/,
exclude: /(node_modules|vendor\/assets)/, exclude: /(node_modules|vendor\/assets)/,
loader: 'babel-loader' loader: 'babel-loader',
}, },
{ {
test: /\.vue$/, test: /\.vue$/,
use: 'vue-loader' loader: 'vue-loader',
}, },
{ {
test: /\.svg$/, test: /\.svg$/,
use: 'raw-loader' loader: 'raw-loader',
}, { },
test: /\.(worker.js|pdf)$/, {
test: /\.(worker\.js|pdf)$/,
exclude: /node_modules/, exclude: /node_modules/,
loader: 'file-loader', loader: 'file-loader',
}, },