mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
Add platforms LINKSURE, QTT (#7813)
This commit is contained in:
committed by
GitHub
parent
a598a9f0cf
commit
3c77bbb385
Generated
+14
-14
@@ -1412,7 +1412,7 @@
|
||||
},
|
||||
"@cocos/babel-plugin-dynamic-import-vars": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npm.taobao.org/@cocos/babel-plugin-dynamic-import-vars/download/@cocos/babel-plugin-dynamic-import-vars-1.0.2.tgz?cache=0&sync_timestamp=1604048375532&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40cocos%2Fbabel-plugin-dynamic-import-vars%2Fdownload%2F%40cocos%2Fbabel-plugin-dynamic-import-vars-1.0.2.tgz",
|
||||
"resolved": "https://registry.npm.taobao.org/@cocos/babel-plugin-dynamic-import-vars/download/@cocos/babel-plugin-dynamic-import-vars-1.0.2.tgz",
|
||||
"integrity": "sha1-chaboK/r3jjHTS02cU95rWZBT5g=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
@@ -1444,9 +1444,9 @@
|
||||
}
|
||||
},
|
||||
"@cocos/build-engine": {
|
||||
"version": "4.0.0-beta.1",
|
||||
"resolved": "https://registry.npm.taobao.org/@cocos/build-engine/download/@cocos/build-engine-4.0.0-beta.1.tgz",
|
||||
"integrity": "sha1-ZcWYUhfMqFLIEpovj3CIgIqCSyo=",
|
||||
"version": "4.0.0-beta.4",
|
||||
"resolved": "https://registry.npm.taobao.org/@cocos/build-engine/download/@cocos/build-engine-4.0.0-beta.4.tgz",
|
||||
"integrity": "sha1-Jh2vfGUl5iXJYwlL6la6TmQEOJs=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/core": "^7.9.0",
|
||||
@@ -1488,7 +1488,7 @@
|
||||
},
|
||||
"cliui": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npm.taobao.org/cliui/download/cliui-6.0.0.tgz?cache=0&sync_timestamp=1602861367442&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcliui%2Fdownload%2Fcliui-6.0.0.tgz",
|
||||
"resolved": "https://registry.npm.taobao.org/cliui/download/cliui-6.0.0.tgz",
|
||||
"integrity": "sha1-UR1wLAxOQcoVbX0OlgIfI+EyJbE=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
@@ -1626,7 +1626,7 @@
|
||||
},
|
||||
"yargs": {
|
||||
"version": "15.4.1",
|
||||
"resolved": "https://registry.npm.taobao.org/yargs/download/yargs-15.4.1.tgz?cache=0&sync_timestamp=1602805577427&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyargs%2Fdownload%2Fyargs-15.4.1.tgz",
|
||||
"resolved": "https://registry.npm.taobao.org/yargs/download/yargs-15.4.1.tgz?cache=0&sync_timestamp=1605465911528&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyargs%2Fdownload%2Fyargs-15.4.1.tgz",
|
||||
"integrity": "sha1-DYehbeAa7p2L7Cv7909nhRcw9Pg=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
@@ -2049,7 +2049,7 @@
|
||||
},
|
||||
"@rollup/plugin-babel": {
|
||||
"version": "5.2.1",
|
||||
"resolved": "https://registry.npm.taobao.org/@rollup/plugin-babel/download/@rollup/plugin-babel-5.2.1.tgz",
|
||||
"resolved": "https://registry.npm.taobao.org/@rollup/plugin-babel/download/@rollup/plugin-babel-5.2.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40rollup%2Fplugin-babel%2Fdownload%2F%40rollup%2Fplugin-babel-5.2.1.tgz",
|
||||
"integrity": "sha1-IPyPiGTcDqocVXhAhFlgaAj3KSQ=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
@@ -2267,7 +2267,7 @@
|
||||
},
|
||||
"@types/resolve": {
|
||||
"version": "0.0.8",
|
||||
"resolved": "https://registry.npm.taobao.org/@types/resolve/download/@types/resolve-0.0.8.tgz?cache=0&sync_timestamp=1596840738717&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fresolve%2Fdownload%2F%40types%2Fresolve-0.0.8.tgz",
|
||||
"resolved": "https://registry.npm.taobao.org/@types/resolve/download/@types/resolve-0.0.8.tgz",
|
||||
"integrity": "sha1-8mB00jjgJlnjI84aE9BB7uKA4ZQ=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
@@ -9894,7 +9894,7 @@
|
||||
},
|
||||
"rollup": {
|
||||
"version": "2.26.6",
|
||||
"resolved": "https://registry.npm.taobao.org/rollup/download/rollup-2.26.6.tgz",
|
||||
"resolved": "https://registry.npm.taobao.org/rollup/download/rollup-2.26.6.tgz?cache=0&sync_timestamp=1605363097629&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frollup%2Fdownload%2Frollup-2.26.6.tgz",
|
||||
"integrity": "sha1-C0YMHaIkxq8SoelIooxROqEfK5M=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
@@ -10061,9 +10061,9 @@
|
||||
"optional": true
|
||||
},
|
||||
"yargs": {
|
||||
"version": "16.1.0",
|
||||
"resolved": "https://registry.npm.taobao.org/yargs/download/yargs-16.1.0.tgz?cache=0&sync_timestamp=1602805577427&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyargs%2Fdownload%2Fyargs-16.1.0.tgz",
|
||||
"integrity": "sha1-/DM/5HkWYOrOWolLOdQvhRzUjyo=",
|
||||
"version": "16.1.1",
|
||||
"resolved": "https://registry.npm.taobao.org/yargs/download/yargs-16.1.1.tgz?cache=0&sync_timestamp=1605465911528&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyargs%2Fdownload%2Fyargs-16.1.1.tgz",
|
||||
"integrity": "sha1-WkoJW9HKgGsKUNDANhHTgDTSGaE=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@@ -10072,7 +10072,7 @@
|
||||
"get-caller-file": "^2.0.5",
|
||||
"require-directory": "^2.1.1",
|
||||
"string-width": "^4.2.0",
|
||||
"y18n": "^5.0.2",
|
||||
"y18n": "^5.0.5",
|
||||
"yargs-parser": "^20.2.2"
|
||||
}
|
||||
},
|
||||
@@ -10909,7 +10909,7 @@
|
||||
},
|
||||
"terser": {
|
||||
"version": "4.8.0",
|
||||
"resolved": "https://registry.npm.taobao.org/terser/download/terser-4.8.0.tgz?cache=0&sync_timestamp=1603374108186&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fterser%2Fdownload%2Fterser-4.8.0.tgz",
|
||||
"resolved": "https://registry.npm.taobao.org/terser/download/terser-4.8.0.tgz?cache=0&sync_timestamp=1605534738594&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fterser%2Fdownload%2Fterser-4.8.0.tgz",
|
||||
"integrity": "sha1-YwVjQ9fHC7KfOvZlhlpG/gOg3xc=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@
|
||||
"@babel/core": "^7.9.0",
|
||||
"@babel/preset-env": "7.8.7",
|
||||
"@cocos/babel-preset-cc": "2.2.0",
|
||||
"@cocos/build-engine": "4.0.0-beta.3",
|
||||
"@cocos/build-engine": "4.0.0-beta.4",
|
||||
"@cocos/typedoc-plugin-internal-external": "^1.0.1",
|
||||
"@cocos/typedoc-plugin-localization": "^1.0.0",
|
||||
"@types/fs-extra": "^5.0.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cocos/build-engine",
|
||||
"version": "4.0.0-beta.3",
|
||||
"version": "4.0.0-beta.4",
|
||||
"description": "",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -35,7 +35,7 @@ export function setupBuildTimeConstants ({
|
||||
|
||||
result.DEV = result.EDITOR || result.PREVIEW || result.TEST;
|
||||
result.DEBUG = result.DEBUG || result.DEV;
|
||||
result.RUNTIME_BASED = result.OPPO || result.VIVO || result.HUAWEI || result.COCOSPLAY;
|
||||
result.RUNTIME_BASED = result.OPPO || result.VIVO || result.HUAWEI || result.COCOSPLAY || result.LINKSURE || result.QTT;
|
||||
result.MINIGAME = result.WECHAT || result.ALIPAY || result.XIAOMI || result.BYTEDANCE || result.BAIDU;
|
||||
result.JSB = result.NATIVE;
|
||||
result.SUPPORT_JIT = !(result.MINIGAME || result.RUNTIME_BASED);
|
||||
@@ -43,7 +43,7 @@ export function setupBuildTimeConstants ({
|
||||
}
|
||||
|
||||
export function getPlatformConstantNames () {
|
||||
return ['HTML5', 'WECHAT', 'ALIPAY', 'BAIDU', 'XIAOMI', 'BYTEDANCE', 'OPPO', 'VIVO', 'HUAWEI', 'NATIVE', 'COCOSPLAY'];
|
||||
return ['HTML5', 'WECHAT', 'ALIPAY', 'BAIDU', 'XIAOMI', 'BYTEDANCE', 'OPPO', 'VIVO', 'HUAWEI', 'NATIVE', 'COCOSPLAY', 'LINKSURE', 'QTT'];
|
||||
}
|
||||
|
||||
export function getBuildModeConstantNames () {
|
||||
|
||||
Reference in New Issue
Block a user