@absolutejs/absolute 0.19.0-beta.155 → 0.19.0-beta.156
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 +11 -6
- package/dist/build.js.map +3 -3
- package/dist/index.js +11 -6
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -171736,11 +171736,16 @@ var isDev, extractBuildError = (logs, pass, label, frameworkNames, isIncremental
|
|
|
171736
171736
|
continue;
|
|
171737
171737
|
let runtimeId = JSON.stringify(outputPath);
|
|
171738
171738
|
const firstUseName = useNames[0];
|
|
171739
|
-
|
|
171740
|
-
|
|
171741
|
-
|
|
171742
|
-
|
|
171743
|
-
|
|
171739
|
+
if (firstUseName) {
|
|
171740
|
+
const varIdx = content.indexOf(`var ${firstUseName} =`);
|
|
171741
|
+
if (varIdx > 0) {
|
|
171742
|
+
const before = content.slice(0, varIdx);
|
|
171743
|
+
const commentMatch = before.match(/\/\/\s*(src\/[^\n]*\.js)\s*\n[^/]*$/);
|
|
171744
|
+
if (commentMatch?.[1]) {
|
|
171745
|
+
const srcPath = resolve10(projectRoot, commentMatch[1].replace("/client/", "/").replace(/\.js$/, ".ts"));
|
|
171746
|
+
runtimeId = JSON.stringify(srcPath);
|
|
171747
|
+
}
|
|
171748
|
+
}
|
|
171744
171749
|
}
|
|
171745
171750
|
const runtime = [
|
|
171746
171751
|
`var __hmr_cs=(globalThis.__HMR_COMPOSABLE_STATE__??={});`,
|
|
@@ -205252,5 +205257,5 @@ export {
|
|
|
205252
205257
|
build
|
|
205253
205258
|
};
|
|
205254
205259
|
|
|
205255
|
-
//# debugId=
|
|
205260
|
+
//# debugId=D8F0DB0810AF6A7564756E2164756E21
|
|
205256
205261
|
//# sourceMappingURL=build.js.map
|