@absolutejs/absolute 0.19.0-beta.142 → 0.19.0-beta.144
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 +22 -2
- package/dist/build.js.map +3 -3
- package/dist/index.js +22 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -203864,10 +203864,30 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
203864
203864
|
return manifest;
|
|
203865
203865
|
}, handleVueFastPath = async (state, config, filesToRebuild, startTime, onRebuildComplete) => {
|
|
203866
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
|
+
if (affected.length > 0) {
|
|
203871
|
+
logWarn(`Vue composable change: ${basename8(tsFile)} affects ${affected.length} files: ${affected.map((f) => basename8(f)).join(", ")}`);
|
|
203872
|
+
} else {
|
|
203873
|
+
logWarn(`Vue composable change: ${basename8(tsFile)} has no dependents in graph`);
|
|
203874
|
+
}
|
|
203875
|
+
for (const dep of affected) {
|
|
203876
|
+
if (dep.endsWith(".vue") && !vueFiles.includes(dep)) {
|
|
203877
|
+
vueFiles.push(dep);
|
|
203878
|
+
}
|
|
203879
|
+
}
|
|
203880
|
+
}
|
|
203867
203881
|
if (vueFiles.length > 0) {
|
|
203868
|
-
for (const file3 of vueFiles) {
|
|
203882
|
+
for (const file3 of [...vueFiles, ...nonVueFiles]) {
|
|
203869
203883
|
state.fileHashes.set(resolve20(file3), computeFileHash(file3));
|
|
203870
203884
|
}
|
|
203885
|
+
if (nonVueFiles.length > 0) {
|
|
203886
|
+
const { invalidateModule: invalidateModule2 } = await getModuleServer();
|
|
203887
|
+
for (const file3 of nonVueFiles) {
|
|
203888
|
+
invalidateModule2(file3);
|
|
203889
|
+
}
|
|
203890
|
+
}
|
|
203871
203891
|
const serverDuration = Date.now() - startTime;
|
|
203872
203892
|
for (const changedFile of vueFiles) {
|
|
203873
203893
|
const pageModuleUrl = await getModuleUrl(changedFile);
|
|
@@ -205075,5 +205095,5 @@ export {
|
|
|
205075
205095
|
build
|
|
205076
205096
|
};
|
|
205077
205097
|
|
|
205078
|
-
//# debugId=
|
|
205098
|
+
//# debugId=A8C9971D879640ED64756E2164756E21
|
|
205079
205099
|
//# sourceMappingURL=build.js.map
|