@absolutejs/absolute 0.19.0-beta.23 → 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/dist/build.js +9 -4
- package/dist/build.js.map +3 -3
- package/dist/index.js +9 -4
- 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,9 +203786,14 @@ 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
|
-
|
|
203791
|
-
|
|
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 {}
|
|
203792
203797
|
if (lines.length === 0) {
|
|
203793
203798
|
return `export * from '${specifier}';
|
|
203794
203799
|
`;
|
|
@@ -204479,5 +204484,5 @@ export {
|
|
|
204479
204484
|
ANGULAR_INIT_TIMEOUT_MS
|
|
204480
204485
|
};
|
|
204481
204486
|
|
|
204482
|
-
//# debugId=
|
|
204487
|
+
//# debugId=1CE0503FCC7A083F64756E2164756E21
|
|
204483
204488
|
//# sourceMappingURL=index.js.map
|