@absolutejs/absolute 0.19.0-beta.24 → 0.19.0-beta.25
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.
- package/dist/build.js +3 -29
- package/dist/build.js.map +3 -3
- package/dist/index.js +3 -29
- package/dist/index.js.map +3 -3
- package/native/packages/darwin-arm64/package.json +1 -1
- package/native/packages/darwin-x64/package.json +1 -1
- package/native/packages/linux-arm64/package.json +1 -1
- package/native/packages/linux-x64/package.json +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -203778,34 +203778,8 @@ var toSafeFileName3 = (specifier) => specifier.replace(/\//g, "_").replace(/@/g,
|
|
|
203778
203778
|
} catch {}
|
|
203779
203779
|
}
|
|
203780
203780
|
return Array.from(specifiers).filter(isResolvable2);
|
|
203781
|
-
}, generateEntrySource2 =
|
|
203782
|
-
|
|
203783
|
-
const mod = await import(specifier);
|
|
203784
|
-
const exportNames = Object.keys(mod).filter((key) => key !== "default" && key !== "__esModule");
|
|
203785
|
-
const lines = [];
|
|
203786
|
-
if (exportNames.length > 0) {
|
|
203787
|
-
lines.push(`export { ${exportNames.join(", ")} } from '${specifier}';`);
|
|
203788
|
-
}
|
|
203789
|
-
try {
|
|
203790
|
-
const resolved = __require.resolve(specifier);
|
|
203791
|
-
const source = await Bun.file(resolved).text();
|
|
203792
|
-
const hasExportDefault = /export\s+default\b/.test(source) || /module\.exports\s*=/.test(source);
|
|
203793
|
-
if (hasExportDefault) {
|
|
203794
|
-
lines.push(`export { default } from '${specifier}';`);
|
|
203795
|
-
}
|
|
203796
|
-
} catch {}
|
|
203797
|
-
if (lines.length === 0) {
|
|
203798
|
-
return `export * from '${specifier}';
|
|
203799
|
-
`;
|
|
203800
|
-
}
|
|
203801
|
-
return lines.join(`
|
|
203802
|
-
`) + `
|
|
203803
|
-
`;
|
|
203804
|
-
} catch {
|
|
203805
|
-
return `export * from '${specifier}';
|
|
203806
|
-
`;
|
|
203807
|
-
}
|
|
203808
|
-
}, computeDepVendorPaths = async (directories) => {
|
|
203781
|
+
}, generateEntrySource2 = (specifier) => `export * from '${specifier}';
|
|
203782
|
+
`, computeDepVendorPaths = async (directories) => {
|
|
203809
203783
|
const specifiers = await scanBareImports(directories);
|
|
203810
203784
|
const paths = {};
|
|
203811
203785
|
for (const specifier of specifiers) {
|
|
@@ -204484,5 +204458,5 @@ export {
|
|
|
204484
204458
|
ANGULAR_INIT_TIMEOUT_MS
|
|
204485
204459
|
};
|
|
204486
204460
|
|
|
204487
|
-
//# debugId=
|
|
204461
|
+
//# debugId=68253C78B51987BF64756E2164756E21
|
|
204488
204462
|
//# sourceMappingURL=index.js.map
|