think/packages/client/copy-diagram-resources.js

7 lines
164 B
JavaScript
Raw Normal View History

2022-05-21 12:57:11 +08:00
/**
* 将流程图编辑器所需的资源拷贝到 .next 目录中配合 nginx 运行
*/
const fs = require('fs-extra');
fs.copySync('./public', './.next');