mini-entry
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -5,3 +5,3 @@ /* | ||
* @Last Modified by: youzhao.zhou | ||
* @Last Modified time: 2021-04-25 22:44:36 | ||
* @Last Modified time: 2021-08-10 11:30:54 | ||
* @Description 生成node_modules中的组件入口 | ||
@@ -20,3 +20,3 @@ * js wxml json wxss? | ||
function generateNodeModuleEntry(pagePath, compiledSuffix) { | ||
const pathUrl = normalize(pagePath).replace(/^node_modules\//, ""); | ||
const pathUrl = normalize(pagePath).replace(/^node_modules(\/|\\)/, ""); | ||
const pathItems = pathUrl.split(sep); | ||
@@ -23,0 +23,0 @@ const moduleName = pathItems[0]; |
{ | ||
"name": "mini-entry", | ||
"version": "0.2.2", | ||
"version": "0.2.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
16427