0

我使用以下代码:

new CopyWebpackPlugin({
            patterns: [
                {
                    from: path.resolve(__dirname, "src", "assets"),
                    globOptions: {
                        ignore: ["/*.ico"]
                    },
                    to: path.resolve(__dirname, "dist"),

                }
            ]
        })

无论如何,它不会忽略图标。有人可以帮忙吗?

4

0 回答 0