@absolutejs/absolute 0.19.0-beta.142 → 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/dist/build.js CHANGED
@@ -203864,10 +203864,25 @@ 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
+ for (const dep of affected) {
203871
+ if (dep.endsWith(".vue") && !vueFiles.includes(dep)) {
203872
+ vueFiles.push(dep);
203873
+ }
203874
+ }
203875
+ }
203867
203876
  if (vueFiles.length > 0) {
203868
- for (const file3 of vueFiles) {
203877
+ for (const file3 of [...vueFiles, ...nonVueFiles]) {
203869
203878
  state.fileHashes.set(resolve20(file3), computeFileHash(file3));
203870
203879
  }
203880
+ if (nonVueFiles.length > 0) {
203881
+ const { invalidateModule: invalidateModule2 } = await getModuleServer();
203882
+ for (const file3 of nonVueFiles) {
203883
+ invalidateModule2(file3);
203884
+ }
203885
+ }
203871
203886
  const serverDuration = Date.now() - startTime;
203872
203887
  for (const changedFile of vueFiles) {
203873
203888
  const pageModuleUrl = await getModuleUrl(changedFile);
@@ -205075,5 +205090,5 @@ export {
205075
205090
  build
205076
205091
  };
205077
205092
 
205078
- //# debugId=2F752B966C9E0B1664756E2164756E21
205093
+ //# debugId=5F471125D390EBB664756E2164756E21
205079
205094
  //# sourceMappingURL=build.js.map