add
sbjw
2025-08-13 5411e296a44e26ba08ff9eec5ad9ae855ddf756a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const CopyPlugin = require("copy-webpack-plugin");
 
module.exports = function override(config) {
    config.plugins.push(
        new CopyPlugin({
            patterns: [
                {
                    from: "node_modules/iclient3d-plot-diy/assets/project3d", // 你的文件路径
                    to: "project3d", // 输出到 public 目录
                    toType: 'dir'
                },
            ],
        })
    );
    return config;
};