vite2是一个非常好用的工具,只是随着代码的增多,打包的时候 vendor-xxxxxx.js 文件也越来越大,这就郁闷了. 打包时遇到警告 输出文件名字/static/vendor.9b5698e4.js 806.03kb / brotli: skipped (large chunk) Some chunks are larger than 500kb after minification. Consider: Using dynamic import() to code-split the…
var tf:TextFlow; var len:int = tf.numChildren;for (var i:int = 0; i < len; i += 1){ tf.removeChildAt(0);} tf.flowComposer.composeToPosition();tf.flowComposer.updateAllControllers(); TypeError: Error #1009: 无法访问空对象引用的属性或方法. at flashx.textLayout.edit::…