mini-entry
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -5,3 +5,3 @@ /* | ||
* @Last Modified by: youzhao.zhou | ||
* @Last Modified time: 2022-07-07 22:06:41 | ||
* @Last Modified time: 2022-07-11 10:27:25 | ||
* @Description 获取webpack入口 | ||
@@ -386,3 +386,9 @@ * | ||
const configPath = getAbsolutePath(`${pathUrl}.json`); | ||
if (fs.existsSync(configPath)) { | ||
const configPathByPlatform = getAbsolutePath( | ||
`${pathUrl}.${config.platform}.json`, | ||
); | ||
if (fs.existsSync(configPathByPlatform)) { | ||
entryConfigPath.add(configPathByPlatform); | ||
} else if (fs.existsSync(configPath)) { | ||
entryConfigPath.add(configPath); | ||
@@ -389,0 +395,0 @@ } |
{ | ||
"name": "mini-entry", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "解析小程序json", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
17159
599