@absolutejs/absolute 0.19.0-beta.144 → 0.19.0-beta.145
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 +3 -6
- package/dist/build.js.map +3 -3
- package/dist/dev/client/handlers/vue.ts +10 -1
- package/dist/index.js +3 -6
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -203867,11 +203867,6 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
203867
203867
|
const nonVueFiles = filesToRebuild.filter((file3) => !file3.endsWith(".vue") && detectFramework(file3, state.resolvedPaths) === "vue");
|
|
203868
203868
|
for (const tsFile of nonVueFiles) {
|
|
203869
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
203870
|
for (const dep of affected) {
|
|
203876
203871
|
if (dep.endsWith(".vue") && !vueFiles.includes(dep)) {
|
|
203877
203872
|
vueFiles.push(dep);
|
|
@@ -203889,6 +203884,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
203889
203884
|
}
|
|
203890
203885
|
}
|
|
203891
203886
|
const serverDuration = Date.now() - startTime;
|
|
203887
|
+
const forceReload = nonVueFiles.length > 0;
|
|
203892
203888
|
for (const changedFile of vueFiles) {
|
|
203893
203889
|
const pageModuleUrl = await getModuleUrl(changedFile);
|
|
203894
203890
|
state.lastHmrPath = changedFile;
|
|
@@ -203896,6 +203892,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, parseError
|
|
|
203896
203892
|
broadcastToClients(state, {
|
|
203897
203893
|
data: {
|
|
203898
203894
|
changeType: "full",
|
|
203895
|
+
forceReload,
|
|
203899
203896
|
framework: "vue",
|
|
203900
203897
|
manifest: state.manifest,
|
|
203901
203898
|
pageModuleUrl,
|
|
@@ -205095,5 +205092,5 @@ export {
|
|
|
205095
205092
|
build
|
|
205096
205093
|
};
|
|
205097
205094
|
|
|
205098
|
-
//# debugId=
|
|
205095
|
+
//# debugId=E9AD4B032EEC119F64756E2164756E21
|
|
205099
205096
|
//# sourceMappingURL=build.js.map
|