@ray-js/build-plugin-router
Advanced tools
Comparing version 1.5.0-beta.12 to 1.5.0
@@ -237,3 +237,3 @@ "use strict"; | ||
const { target } = api.options; | ||
const g = target === 'thing' | ||
const globalConfigData = target === 'thing' | ||
? (_b = (_a = globalConfig['thing']) !== null && _a !== void 0 ? _a : globalConfig['tuya']) !== null && _b !== void 0 ? _b : {} // 因历史原因,需要兼容老项目的老配置,老项目中都是 tuya | ||
@@ -251,3 +251,3 @@ : (_c = globalConfig[target]) !== null && _c !== void 0 ? _c : {}; | ||
const { workers = [], root: workerRoot } = otherConfig.workers || {}; | ||
const config = Object.assign(Object.assign(Object.assign({}, g), otherConfig), { pages, tabBar }); | ||
const config = Object.assign(Object.assign(Object.assign({}, globalConfigData), otherConfig), { pages, tabBar }); | ||
if (workerRoot) { | ||
@@ -254,0 +254,0 @@ config.workers = |
{ | ||
"name": "@ray-js/build-plugin-router", | ||
"version": "1.5.0-beta.12", | ||
"version": "1.5.0", | ||
"description": "Ray build plugin for router", | ||
@@ -27,4 +27,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@ray-js/shared": "^1.5.0-beta.12", | ||
"chokidar": "^3.5.3", | ||
"@ray-js/shared": "1.5.0", | ||
"chokidar": "^3.6.0", | ||
"colors": "1.4.0", | ||
@@ -37,3 +37,3 @@ "ejs": "^3.1.9", | ||
"devDependencies": { | ||
"@ray-js/types": "^1.5.0-beta.12" | ||
"@ray-js/types": "1.5.0" | ||
}, | ||
@@ -44,3 +44,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "7fb9ae94b8896c81a6b6556099107cb2daab9c9b" | ||
"gitHead": "acb0b960e4f0cda492b34c950bf9cd8d5b27ec8a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19312
1
+ Added@ray-js/shared@1.5.0(transitive)
+ Added@ray-js/types@1.5.0(transitive)
- Removed@ray-js/shared@1.5.31(transitive)
- Removed@ray-js/types@1.5.31(transitive)
Updated@ray-js/shared@1.5.0
Updatedchokidar@^3.6.0