@absolutejs/absolute 0.19.0-beta.22 → 0.19.0-beta.24
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/.absolutejs/tsconfig.tsbuildinfo +1 -1
- package/dist/build.js +12 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +12 -3
- 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
|
@@ -203786,8 +203786,17 @@ var toSafeFileName3 = (specifier) => specifier.replace(/\//g, "_").replace(/@/g,
|
|
|
203786
203786
|
if (exportNames.length > 0) {
|
|
203787
203787
|
lines.push(`export { ${exportNames.join(", ")} } from '${specifier}';`);
|
|
203788
203788
|
}
|
|
203789
|
-
|
|
203790
|
-
|
|
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
|
+
`;
|
|
203791
203800
|
}
|
|
203792
203801
|
return lines.join(`
|
|
203793
203802
|
`) + `
|
|
@@ -204475,5 +204484,5 @@ export {
|
|
|
204475
204484
|
ANGULAR_INIT_TIMEOUT_MS
|
|
204476
204485
|
};
|
|
204477
204486
|
|
|
204478
|
-
//# debugId=
|
|
204487
|
+
//# debugId=1CE0503FCC7A083F64756E2164756E21
|
|
204479
204488
|
//# sourceMappingURL=index.js.map
|