1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/babel-polyfill/scripts/prepublish.js

9 lines
216 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
var fs = require("fs");
var path = require("path");
function relative(loc) {
return path.join(__dirname, "..", loc);
}
fs.writeFileSync(relative("browser.js"), fs.readFileSync(relative("dist/polyfill.min.js")));