1.0.10 • Published 12 months ago

gulp-minification v1.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

1、主包剔除 var Laya = window.Laya = function (window, document) {}(window, document); 【完成】 var ___Laya = function (){}(); 【完成】

2、主包调整 【完成】 Timer$1 = Laya.Timer$1; VertexArrayObject = Laya.VertexArrayObject; WebGLContext = Laya.WebGLContext; System$1 = Laya.System$1; Cooling = com.Cooling; TextField = ext.text.TextField; LayerMgr = game.mgr.LayerMgr; Bitmap = ext.display.Bitmap; TextHtml = ext.text.TextHtml; Util = com.Util; new Main();

3、主包Image new Image 修正为 new Laya.Image 【完成】

4、主包 继承 Image 修正为 Laya.Image 【完成】

5、全局类注册过滤 【完成】

6、var img = Pool.getItemByClass("Image", Laya.Image); 【完成】

// 1压缩DEBUG 2分包 3压缩+分包

// let stream = gp.src(config.denugBundle + '/bundle.js').pipe(concat('bundle.min.js')).pipe(uglify(options)).pipe(gp.dest(releasePath));

// gulp.src(CordovaLibDir) // .pipe(clean()) // .on('error', done) // .on('data', function () {}) // fix end emit, listen the data // .on('end', function () { // console.log('END'); // });

test

1.0.10

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.0

12 months ago