Vue-cli3.0 webpack configuration exclude error

/ / 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

Apr.25,2021

config.module
    .rule('svg')
    .exclude
    .add(resolve('src/assets/icons'))
    .end()
    .use('file-loader')
    .loader('file-loader')
    .options({
        name: 'img/[name].[hash:8].[ext]'
    })
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3829f-2b63c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3829f-2b63c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?