clean up webpack config
This commit is contained in:
parent
6c547e3142
commit
0ca62a680c
1 changed files with 6 additions and 5 deletions
|
@ -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',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue