@absolutejs/absolute 0.19.0-beta.156 → 0.19.0-beta.157
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 +7 -4
- package/dist/build.js.map +3 -3
- package/dist/index.js +7 -4
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -171740,9 +171740,12 @@ var isDev, extractBuildError = (logs, pass, label, frameworkNames, isIncremental
|
|
|
171740
171740
|
const varIdx = content.indexOf(`var ${firstUseName} =`);
|
|
171741
171741
|
if (varIdx > 0) {
|
|
171742
171742
|
const before = content.slice(0, varIdx);
|
|
171743
|
-
const
|
|
171744
|
-
|
|
171745
|
-
|
|
171743
|
+
const allComments = [
|
|
171744
|
+
...before.matchAll(/\/\/\s*(src\/[^\n]*\.js)\s*\n/g)
|
|
171745
|
+
];
|
|
171746
|
+
const last = allComments[allComments.length - 1];
|
|
171747
|
+
if (last?.[1]) {
|
|
171748
|
+
const srcPath = resolve10(projectRoot, last[1].replace("/client/", "/").replace(/\.js$/, ".ts"));
|
|
171746
171749
|
runtimeId = JSON.stringify(srcPath);
|
|
171747
171750
|
}
|
|
171748
171751
|
}
|
|
@@ -205257,5 +205260,5 @@ export {
|
|
|
205257
205260
|
build
|
|
205258
205261
|
};
|
|
205259
205262
|
|
|
205260
|
-
//# debugId=
|
|
205263
|
+
//# debugId=895358B52BA6BBCD64756E2164756E21
|
|
205261
205264
|
//# sourceMappingURL=build.js.map
|