thedesk/app/node_modules/@babel/polyfill/scripts/prepublish.js

14 lines
241 B
JavaScript
Raw Permalink Normal View History

2019-09-13 00:38:13 +10:00
"use strict";
const fs = require("fs");
const path = require("path");
function relative(loc) {
return path.join(__dirname, "..", loc);
}
fs.writeFileSync(
relative("browser.js"),
fs.readFileSync(relative("dist/polyfill.min.js"))
);