miaoda-expo-devkit 0.1.1-beta.117 → 0.1.1-beta.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14623,7 +14623,7 @@ function buildAliasMap(moduleDir, pkgRoot) {
|
|
|
14623
14623
|
if (import_node_fs.default.existsSync(cjsBundle)) {
|
|
14624
14624
|
const content = import_node_fs.default.readFileSync(cjsBundle, "utf-8");
|
|
14625
14625
|
const varToExportNames = /* @__PURE__ */ new Map();
|
|
14626
|
-
const re = /^exports\.(\w+)\s*=\s*(\w+)
|
|
14626
|
+
const re = /^exports\.(\w+)\s*=\s*(\w+)(?:\.\w+)?;/gm;
|
|
14627
14627
|
let m;
|
|
14628
14628
|
while ((m = re.exec(content)) !== null) {
|
|
14629
14629
|
const [, exportName, varName] = m;
|