mirror of https://github.com/jkjoy/sunpeiwen.git
9 lines
216 B
JavaScript
9 lines
216 B
JavaScript
|
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")));
|