mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-08 11:25:52 +08:00
修复框架项目中导入路径与API文档生成插件路径冲突
This commit is contained in:
2
temp/declarations/cc.d.ts
vendored
2
temp/declarations/cc.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
|
||||
/// <reference path="D:\cocos-dashboard-editors\Creator\3.8.4\resources\resources\3d\engine\bin\.declarations\cc.d.ts"/>
|
||||
/// <reference path="D:\Cocos Editors\Creator\3.8.8\resources\resources\3d\engine\bin\.declarations\cc.d.ts"/>
|
||||
|
||||
/**
|
||||
* @deprecated Global variable `cc` was dropped since 3.0. Use ES6 module syntax to import Cocos Creator APIs.
|
||||
|
||||
17
temp/declarations/cc.env.d.ts
vendored
17
temp/declarations/cc.env.d.ts
vendored
@@ -54,11 +54,6 @@ declare module 'cc/env'{
|
||||
*/
|
||||
export const WECHAT_MINI_PROGRAM: boolean;
|
||||
|
||||
/**
|
||||
* Running in the baidu's mini game.
|
||||
*/
|
||||
export const BAIDU: boolean;
|
||||
|
||||
/**
|
||||
* Running in the xiaomi's quick game.
|
||||
*/
|
||||
@@ -100,19 +95,19 @@ declare module 'cc/env'{
|
||||
export const HUAWEI: boolean;
|
||||
|
||||
/**
|
||||
* Running in the cocosplay.
|
||||
* Running in the migu's quick game.
|
||||
*/
|
||||
export const COCOSPLAY: boolean;
|
||||
export const MIGU: boolean;
|
||||
|
||||
/**
|
||||
* Running in the qtt's quick game.
|
||||
* Running in the honor's quick game.
|
||||
*/
|
||||
export const QTT: boolean;
|
||||
export const HONOR: boolean;
|
||||
|
||||
/**
|
||||
* Running in the linksure's quick game.
|
||||
* Running in the cocos runtime.
|
||||
*/
|
||||
export const LINKSURE: boolean;
|
||||
export const COCOS_RUNTIME: boolean;
|
||||
|
||||
/**
|
||||
* Running in the editor.
|
||||
|
||||
2
temp/declarations/jsb.d.ts
vendored
2
temp/declarations/jsb.d.ts
vendored
@@ -1 +1 @@
|
||||
/// <reference path="D:\cocos-dashboard-editors\Creator\3.8.4\resources\resources\3d\engine\@types\jsb.d.ts"/>
|
||||
/// <reference path="D:\Cocos Editors\Creator\3.8.8\resources\resources\3d\engine\@types\jsb.d.ts"/>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"target": "ES2017",
|
||||
"module": "CommonJS",
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./src",
|
||||
"rootDir": "./",
|
||||
"strict": true,
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
@@ -19,7 +19,14 @@
|
||||
"./temp/declarations/cc.env"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"assets/**/*",
|
||||
"src/**/*",
|
||||
"typedoc.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"assets/**/*"
|
||||
"node_modules",
|
||||
"dist",
|
||||
"temp"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user