1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| 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", // 输出到 project3d 目录
| toType: 'dir'
| },
| {
| from: "node_modules/iclient3d-plot-diy-attachment/assets/project3d/Build",
| to: "project3d/Build", // 输出到 project3d/Build 目录
| toType: 'dir'
| }
| ],
| })
| );
| return config;
| };
|
|