You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
355 B
14 lines
355 B
4 weeks ago
|
var browserify = require("browserify");
|
||
|
var tsify = require("tsify");
|
||
|
var tinyify = require("tinyify");
|
||
|
|
||
|
browserify({ standalone: "SVGA" })
|
||
|
.add("./src/main.ts")
|
||
|
.plugin(tsify, { noImplicitAny: true })
|
||
|
.plugin(tinyify, { flat: false })
|
||
|
.bundle()
|
||
|
.on("error", function (error) {
|
||
|
console.error(error.toString());
|
||
|
})
|
||
|
.pipe(process.stdout);
|