• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 7 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0029 秒)

1. 启动ide后有个关于tsc compiler和vs code's language service的提示 [ 100%]

启动ide后有个关于tsc compiler和vs code's language service的提示 A version mismatch between the globally installed tsc compiler (2.1.5) and VS Code's language service (1.8.10) has been detected. This might result in inconsistent compile errors. 我的全局typescript是2.1.5的,我必...

来源: Laya_社区 发布时间: 20170126

2. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 84%]

...烫 2019-10-09 0 0 分享 微博 QZONE 微信 xiaocai 赞同来自: {   "compilerOptions": {     /* Basic Options */     "target": "es2017",                          /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ ...

来源: Laya_社区 发布时间: 20190408

3. max.js怎么压缩? [ 76%]

...减少发布后JS文件的体积,加快文件载入速度; 使用:/*[COMPILER OPTIONS:release]*/ 注意: 在general(普通)和debug(调试)模式下,不会注释掉未赋初始值的成员变量,完全与原生flash一样;在release(发布)模式下,注释掉未赋初始值的成员变量...

来源: Laya_社区 发布时间: 20151106

4. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 76%]

...语法,首先要配置 tsconfig.json, 让其支持装饰器语法:{ "compilerOptions": { ...其他配置, "experimentalDecorators": true, //启用装饰器语法 }, } 但修改完配置编译的时候会报错:This syntax requires an imported helper but module 'tslib' cannot be found 开发群...

来源: Laya_社区 发布时间: 20201223

5. LayaBox AS3编译总结之FlashDevelop篇 [ 74%]

...7.18beta\as\laya.js.exe;"$(ProjectPath)";iflash=false;chromerun=false;quickcompile=false;outlaya=true chromerun 是否编译后运行项目,默认true为运行项目 quickcompile 是否快速编译项目,默认true为快速编译,如果出现异常设置为false取消快速编译,为重新...

来源: Laya_社区 发布时间: 20180519

6. 借助AMD来解决HTML5游戏开发中的痛点 [ 69%]

...程(3)][js3]- [requirejs][lib]- [TypeScript Hero][autoimport]- [TypeScript Compiler Options][tsconfig] [js1]: http://www.ruanyifeng.com/blog ... .html [js2]: http://www.ruanyifeng.com/blog ... .html [js3]: http://www.ruanyifeng.com/blog ... .html [lib]: http://requirejs.org/docs/rele ... re.js [demo...

来源: Laya_社区 发布时间: 20170817

7. 项目发布详解(含命令行发布)(TypeScript-IDE篇(TS)-代码模式基础) [ 64%]

...on output the version number -h, --help output usage information Commands: compile compile project. publish publish project. help [cmd] display help for [cmd] ``` #### layaair2-cmd的帮助说明: 帮助中首先给出了命令的使用范例: ``` Usage: layaair2-cmd [command] [args] ``` 说明...

来源: Laya2.0_文档 发布时间: 20210715