StructV2/copyDist2Anyview.js

12 lines
309 B
JavaScript
Raw Normal View History

2021-12-11 08:10:12 +00:00
const fs = require('fs');
2022-06-29 14:00:12 +00:00
const sourcePath = 'E:\\研究生\\StructV2\\dist\\sv.js';
const targetPath = 'E:\\研究生\\froend_student\\src\\pages\\student\\assets\\js\\sv.js'
2021-12-11 08:10:12 +00:00
function COPY(from, to) {
const file = fs.readFileSync(from);
fs.writeFileSync(to, file);
}
COPY(sourcePath, targetPath);