UNPKG
obstacle-wl-1
Version:
latest (0.1.57)
0.1.57
## Project setup ``` npm install ```
obstacle-wl-1
/
vue.config.js
12 lines
•
361 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
module
.
exports
= { css: { extract:
false
}, productionSourceMap:
false
, chainWebpack: config => {
const
svgRule
=
config.
module
.rule(
'svg'
) svgRule.uses.clear() svgRule .test(/\.svg$/) .use(
'svg-url-loader'
)
// npm install --save-dev svg-url-loader
.loader(
'svg-url-loader'
) } }