@absolutejs/absolute 0.19.0-beta.141 → 0.19.0-beta.143
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 +19 -2
- package/dist/build.js.map +3 -3
- package/dist/index.js +19 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -203387,6 +203387,8 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
203387
203387
|
if (framework === "unknown") {
|
|
203388
203388
|
const { invalidate: invalidate2 } = (init_transformCache(), __toCommonJS(exports_transformCache));
|
|
203389
203389
|
invalidate2(resolve21(filePath));
|
|
203390
|
+
const relPath = relative9(process.cwd(), filePath);
|
|
203391
|
+
logHmrUpdate(relPath);
|
|
203390
203392
|
return;
|
|
203391
203393
|
}
|
|
203392
203394
|
if (!state.fileChangeQueue.has(framework)) {
|
|
@@ -203862,10 +203864,25 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
203862
203864
|
return manifest;
|
|
203863
203865
|
}, handleVueFastPath = async (state, config, filesToRebuild, startTime, onRebuildComplete) => {
|
|
203864
203866
|
const vueFiles = filesToRebuild.filter((file4) => file4.endsWith(".vue") && detectFramework(file4, state.resolvedPaths) === "vue");
|
|
203867
|
+
const nonVueFiles = filesToRebuild.filter((file4) => !file4.endsWith(".vue") && detectFramework(file4, state.resolvedPaths) === "vue");
|
|
203868
|
+
for (const tsFile of nonVueFiles) {
|
|
203869
|
+
const affected = getAffectedFiles(state.dependencyGraph, tsFile);
|
|
203870
|
+
for (const dep of affected) {
|
|
203871
|
+
if (dep.endsWith(".vue") && !vueFiles.includes(dep)) {
|
|
203872
|
+
vueFiles.push(dep);
|
|
203873
|
+
}
|
|
203874
|
+
}
|
|
203875
|
+
}
|
|
203865
203876
|
if (vueFiles.length > 0) {
|
|
203866
|
-
for (const file4 of vueFiles) {
|
|
203877
|
+
for (const file4 of [...vueFiles, ...nonVueFiles]) {
|
|
203867
203878
|
state.fileHashes.set(resolve21(file4), computeFileHash(file4));
|
|
203868
203879
|
}
|
|
203880
|
+
if (nonVueFiles.length > 0) {
|
|
203881
|
+
const { invalidateModule: invalidateModule2 } = await getModuleServer();
|
|
203882
|
+
for (const file4 of nonVueFiles) {
|
|
203883
|
+
invalidateModule2(file4);
|
|
203884
|
+
}
|
|
203885
|
+
}
|
|
203869
203886
|
const serverDuration = Date.now() - startTime;
|
|
203870
203887
|
for (const changedFile of vueFiles) {
|
|
203871
203888
|
const pageModuleUrl = await getModuleUrl(changedFile);
|
|
@@ -205735,5 +205752,5 @@ export {
|
|
|
205735
205752
|
ANGULAR_INIT_TIMEOUT_MS
|
|
205736
205753
|
};
|
|
205737
205754
|
|
|
205738
|
-
//# debugId=
|
|
205755
|
+
//# debugId=7120BE31AAB8A56C64756E2164756E21
|
|
205739
205756
|
//# sourceMappingURL=index.js.map
|