@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/build.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(resolve20(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((file3) => file3.endsWith(".vue") && detectFramework(file3, state.resolvedPaths) === "vue");
|
|
203867
|
+
const nonVueFiles = filesToRebuild.filter((file3) => !file3.endsWith(".vue") && detectFramework(file3, 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 file3 of vueFiles) {
|
|
203877
|
+
for (const file3 of [...vueFiles, ...nonVueFiles]) {
|
|
203867
203878
|
state.fileHashes.set(resolve20(file3), computeFileHash(file3));
|
|
203868
203879
|
}
|
|
203880
|
+
if (nonVueFiles.length > 0) {
|
|
203881
|
+
const { invalidateModule: invalidateModule2 } = await getModuleServer();
|
|
203882
|
+
for (const file3 of nonVueFiles) {
|
|
203883
|
+
invalidateModule2(file3);
|
|
203884
|
+
}
|
|
203885
|
+
}
|
|
203869
203886
|
const serverDuration = Date.now() - startTime;
|
|
203870
203887
|
for (const changedFile of vueFiles) {
|
|
203871
203888
|
const pageModuleUrl = await getModuleUrl(changedFile);
|
|
@@ -205073,5 +205090,5 @@ export {
|
|
|
205073
205090
|
build
|
|
205074
205091
|
};
|
|
205075
205092
|
|
|
205076
|
-
//# debugId=
|
|
205093
|
+
//# debugId=5F471125D390EBB664756E2164756E21
|
|
205077
205094
|
//# sourceMappingURL=build.js.map
|