项目初始化
This commit is contained in:
13
uni_modules/c-svga/node_modules/svgaplayer-weapp/build.js
generated
vendored
Normal file
13
uni_modules/c-svga/node_modules/svgaplayer-weapp/build.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
Reference in New Issue
Block a user