@absolutejs/absolute 0.19.0-beta.69 → 0.19.0-beta.70
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/index.js +24 -7
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
- package/scripts/use-patched-bun.sh +1 -0
package/dist/index.js
CHANGED
|
@@ -205098,16 +205098,33 @@ var prepare = async (configOrPath) => {
|
|
|
205098
205098
|
setGlobalModuleServer2(moduleHandler);
|
|
205099
205099
|
const { warmCache: warmCache2, SRC_URL_PREFIX: SRC_URL_PREFIX2 } = await Promise.resolve().then(() => (init_moduleServer(), exports_moduleServer));
|
|
205100
205100
|
const { Glob: Glob8 } = await Promise.resolve(globalThis.Bun);
|
|
205101
|
-
const prewarmDirs = [
|
|
205102
|
-
|
|
205103
|
-
|
|
205104
|
-
|
|
205105
|
-
|
|
205106
|
-
|
|
205101
|
+
const prewarmDirs = [];
|
|
205102
|
+
if (config.svelteDirectory) {
|
|
205103
|
+
prewarmDirs.push({
|
|
205104
|
+
dir: config.svelteDirectory,
|
|
205105
|
+
pattern: "**/*.{svelte,svelte.ts,svelte.js}"
|
|
205106
|
+
});
|
|
205107
|
+
}
|
|
205108
|
+
if (config.vueDirectory) {
|
|
205109
|
+
prewarmDirs.push({
|
|
205110
|
+
dir: config.vueDirectory,
|
|
205111
|
+
pattern: "**/*.{vue}"
|
|
205112
|
+
});
|
|
205113
|
+
}
|
|
205114
|
+
if (config.reactDirectory) {
|
|
205115
|
+
prewarmDirs.push({
|
|
205116
|
+
dir: config.reactDirectory,
|
|
205117
|
+
pattern: "**/*.{ts,tsx,js,jsx}"
|
|
205118
|
+
});
|
|
205119
|
+
}
|
|
205120
|
+
for (const { dir, pattern } of prewarmDirs) {
|
|
205121
|
+
const glob = new Glob8(pattern);
|
|
205107
205122
|
for (const file4 of glob.scanSync({
|
|
205108
205123
|
cwd: resolve23(dir),
|
|
205109
205124
|
absolute: true
|
|
205110
205125
|
})) {
|
|
205126
|
+
if (file4.includes("/node_modules/"))
|
|
205127
|
+
continue;
|
|
205111
205128
|
const rel = relative11(process.cwd(), file4).replace(/\\/g, "/");
|
|
205112
205129
|
warmCache2(`${SRC_URL_PREFIX2}${rel}`);
|
|
205113
205130
|
}
|
|
@@ -205288,5 +205305,5 @@ export {
|
|
|
205288
205305
|
ANGULAR_INIT_TIMEOUT_MS
|
|
205289
205306
|
};
|
|
205290
205307
|
|
|
205291
|
-
//# debugId=
|
|
205308
|
+
//# debugId=0A07E02EB67B5C2864756E2164756E21
|
|
205292
205309
|
//# sourceMappingURL=index.js.map
|