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.
13 lines
355 B
13 lines
355 B
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);
|
|
|