Daniel Tschinder de975b9660 Use plain js to do the pre/postpublish for the polyfill (#3694)
* Use plain js to do the pre/postpublish for the polyfill

* remove dist on clean [skip ci]
2016-09-13 09:09:11 -04:00

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")));