mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-29 17:45:21 +00:00
13 lines
349 B
JavaScript
Executable file
13 lines
349 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
var fs = require("fs");
|
|
var browserify = require("browserify");
|
|
|
|
browserify("src/babel-worker.js")
|
|
.transform("babelify", {
|
|
presets: [ [ "@babel/preset-env", { targets: "ie >= 11" } ] ],
|
|
global: true,
|
|
ignore: [ "../../node_modules/core-js" ]
|
|
})
|
|
.bundle()
|
|
.pipe(fs.createWriteStream("dist/babel-worker.js"));
|