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

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

61. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 52%]

...log(waring); } }, treeshake: false, //建议忽略 plugins: [ typescript({ tsconfig:workSpaceDir + "/tsconfig.json", check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}}, include:/.*.ts/, }), glsl({ // By default, ever...

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

62. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 51%]

...ules\.bin\tsc.cmd -b "D:\Users\Administrator\Personal\myLaya2.2\Client\src\tsconfig.json"  at ChildProcess.exithandler (child_process.js:217:12) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:194:7) at maybeClose (internal/child_process.js:899:16) at Process.ChildProcess._handle.onex...

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

63. ide 2.4 layaair2-cmd 编译报错 [ 51%]

...mpile'... rpt2: config error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. [14:22:35] 'compile' errored after 286 ms [14:22:35] Error: Unexpected token (Note that you need plugins to import files that are not Ja...

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

64. laya2.3微信开放域点发布后编译就会报错 [ 51%]

...码会发生改变。) 3.然后编译就会如下报错。 Incompatible tsconfig option. Module resolves to 'CommonJS'. This is incompatible with rollup, please use 'module: "ES2015"' or 'module: "ESNext"'. 附件 : --> PigGameOpenData.zip 2019-12-20 添加评论 免费帖 --> 分享 微博 QZONE ...

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

65. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found [ 49%]

...stion/45491 2020-04-09 0 0 分享 微博 QZONE 微信 李康 赞同来自: tsconfig需要改改,tslib对应自己ide安装路径改一下 {   "compilerOptions": {     "module": "es6",     "target": "es6",     "noEmitHelpers": false,     "sourceMap": true,     "removeComm...

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

66. 创建TS项目并详解目录结构(TypeScript-LayaAir基础篇(TS)-快速上手) [ 48%]

...roType":1,"version":"2.0.0"} ``` #### `语言版本config.json` 图9中的`tsconfig.json`存放着IDE的编译配置信息,勿删。 ### 3.7 发布目录 发布目录默认是不存在的,需要点击发布按钮,发布项目后才会生成对应的版本目录,如图10所示。(有专门...

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

67. Laya ts版,使用jasmine进行单元测试 [ 47%]

...正则指定哪些文件需要作为单元测试文件运行。   更改tsconfig.json. 在exclude里增加一项 "__tests__",也就是刚刚的spec_dir文件夹,防止正常编译时把它们也编进bin文件夹里去。   4 要测试的文件 假设我有三个文件,一个是src/Functions...

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

68. 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' [ 47%]

...ght TypeError: Class constructor Sprite cannot be invoked without 'new' 将tsconfig.json里的"target":"es6"改为"es5"会报错: Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new'   会升级到2.2.0Beta主要是看升级日志里,这个版本修复里很多bug,比...

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

69. 用npm的protobuf导出的ts代码。然后用import { } from "" 运行到这里没反应,不继续执行,也不报错。 [ 46%]

...了。 谁知道这是为什么? 是不是引擎不支持import语法? tsconfig.json里target设为es5、es6都一样没变化。   2017-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 zengjoeng 赞同...

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

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

...adata for decorators. */   } } 追问一下 请问有小伙伴知道这种tsconfig.json配置的说明 是去哪里找的么 我 怎么在官方文档找不到  还有1.0的时候的 一些tasks.json的配置参数  "version": "0.1.0", "command": "tsc", "isShellCommand": true, "args": [ "-p", "."...

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