@absolutejs/absolute 0.19.0-beta.29 → 0.19.0-beta.30
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 +14 -4
- package/dist/build.js.map +4 -4
- package/dist/index.js +21 -14
- package/dist/index.js.map +5 -5
- 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
|
@@ -171543,10 +171543,18 @@ var isDev, extractBuildError = (logs, pass, label, frameworkNames, isIncremental
|
|
|
171543
171543
|
...cssOutputs.map((a) => a.path)
|
|
171544
171544
|
]);
|
|
171545
171545
|
}
|
|
171546
|
+
if (hmr && reactIndexesPath) {
|
|
171547
|
+
const devIndexDir = join11(buildPath, "_src_indexes");
|
|
171548
|
+
mkdirSync6(devIndexDir, { recursive: true });
|
|
171549
|
+
cpSync(reactIndexesPath, devIndexDir, {
|
|
171550
|
+
force: true,
|
|
171551
|
+
recursive: true
|
|
171552
|
+
});
|
|
171553
|
+
}
|
|
171546
171554
|
if (!options?.preserveIntermediateFiles)
|
|
171547
171555
|
await cleanup({
|
|
171548
171556
|
angularDir,
|
|
171549
|
-
reactIndexesPath
|
|
171557
|
+
reactIndexesPath,
|
|
171550
171558
|
svelteDir,
|
|
171551
171559
|
vueDir
|
|
171552
171560
|
});
|
|
@@ -202119,7 +202127,7 @@ var init_pageHandler = __esm(() => {
|
|
|
202119
202127
|
|
|
202120
202128
|
// src/dev/transformCache.ts
|
|
202121
202129
|
import { statSync } from "fs";
|
|
202122
|
-
var cache, getTransformed = (filePath) => {
|
|
202130
|
+
var globalStore, cache, getTransformed = (filePath) => {
|
|
202123
202131
|
const entry = cache.get(filePath);
|
|
202124
202132
|
if (!entry)
|
|
202125
202133
|
return;
|
|
@@ -202137,7 +202145,9 @@ var cache, getTransformed = (filePath) => {
|
|
|
202137
202145
|
cache.delete(filePath);
|
|
202138
202146
|
};
|
|
202139
202147
|
var init_transformCache = __esm(() => {
|
|
202140
|
-
|
|
202148
|
+
globalStore = globalThis;
|
|
202149
|
+
cache = globalStore.__transformCache ?? new Map;
|
|
202150
|
+
globalStore.__transformCache = cache;
|
|
202141
202151
|
});
|
|
202142
202152
|
|
|
202143
202153
|
// src/dev/moduleServer.ts
|
|
@@ -204353,16 +204363,13 @@ var prepare = async (configOrPath) => {
|
|
|
204353
204363
|
});
|
|
204354
204364
|
const hmrPlugin = hmr2(result.hmrState, result.manifest, moduleHandler);
|
|
204355
204365
|
const { SRC_URL_PREFIX: SRC_URL_PREFIX2 } = await Promise.resolve().then(() => (init_moduleServer(), exports_moduleServer));
|
|
204356
|
-
const
|
|
204357
|
-
|
|
204358
|
-
|
|
204359
|
-
|
|
204360
|
-
|
|
204361
|
-
|
|
204362
|
-
|
|
204363
|
-
const rel = relative8(process.cwd(), srcPath).replace(/\\/g, "/");
|
|
204364
|
-
result.manifest[key] = `${SRC_URL_PREFIX2}${rel}`;
|
|
204365
|
-
}
|
|
204366
|
+
const devIndexDir = resolve22(buildDir, "_src_indexes");
|
|
204367
|
+
for (const key of Object.keys(result.manifest)) {
|
|
204368
|
+
if (key.endsWith("Index") && typeof result.manifest[key] === "string" && result.manifest[key].includes("/indexes/")) {
|
|
204369
|
+
const fileName = key.replace(/Index$/, "") + ".tsx";
|
|
204370
|
+
const srcPath = resolve22(devIndexDir, fileName);
|
|
204371
|
+
const rel = relative8(process.cwd(), srcPath).replace(/\\/g, "/");
|
|
204372
|
+
result.manifest[key] = `${SRC_URL_PREFIX2}${rel}`;
|
|
204366
204373
|
}
|
|
204367
204374
|
}
|
|
204368
204375
|
return {
|
|
@@ -204531,5 +204538,5 @@ export {
|
|
|
204531
204538
|
ANGULAR_INIT_TIMEOUT_MS
|
|
204532
204539
|
};
|
|
204533
204540
|
|
|
204534
|
-
//# debugId=
|
|
204541
|
+
//# debugId=84062606A25D78C664756E2164756E21
|
|
204535
204542
|
//# sourceMappingURL=index.js.map
|