/ / configure webpack
chainWebpack: config => {
const svgRule = config.module.rule("svg");
svgRule.uses.clear();
config.module
.rule("svg")
.set("exclude", [resolve("src/assets/icons")])
.use("file-loader")
.loader("file-loader")
.options({
name: "img/[name].[hash:8].[ext]"
})
how to configure exclude