StructV2/copyDist2Anyview.js

12 lines
318 B
JavaScript
Raw Normal View History

2021-12-11 08:10:12 +00:00
const fs = require('fs');
const sourcePath = 'D:\\个人项目\\v\\StructV2\\dist\\sv.js';
2022-03-13 07:21:20 +00:00
const targetPath = 'D:\\个人项目\\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);