@absolutejs/absolute 0.19.0-beta.747 → 0.19.0-beta.749
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/angular/browser.js +35 -1
- package/dist/angular/browser.js.map +5 -4
- package/dist/angular/index.js +46 -1
- package/dist/angular/index.js.map +6 -5
- package/dist/angular/server.js +12 -1
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +12 -1
- package/dist/build.js.map +3 -3
- package/dist/dev/client/handlers/angular.ts +90 -0
- package/dist/dev/client/handlers/angularRuntime.ts +78 -0
- package/dist/index.js +12 -1
- package/dist/index.js.map +3 -3
- package/dist/src/angular/browser.d.ts +1 -0
- package/dist/src/angular/index.d.ts +1 -0
- package/dist/src/angular/preserveAcrossHmr.d.ts +10 -0
- package/dist/types/globals.d.ts +6 -0
- package/package.json +1 -1
package/dist/angular/server.js
CHANGED
|
@@ -4123,6 +4123,17 @@ var absoluteHttpTransferCacheOptions = {
|
|
|
4123
4123
|
// classes without needing a separate build artifact.
|
|
4124
4124
|
export * from '${normalizedImportPath}';
|
|
4125
4125
|
|
|
4126
|
+
// Record this evaluation's \`routes\` and \`providers\` exports for the
|
|
4127
|
+
// HMR fast-patch to compare against on the next reload. If they change
|
|
4128
|
+
// (a new route was added, a provider was edited), fast-patch falls back
|
|
4129
|
+
// to a full re-bootstrap because those values are consumed once at
|
|
4130
|
+
// bootstrap and won't propagate to the running router/injector via an
|
|
4131
|
+
// in-place component patch.
|
|
4132
|
+
if (typeof window !== 'undefined' && window.__ANGULAR_HMR__ && typeof window.__ANGULAR_HMR__.recordPageExports === 'function') {
|
|
4133
|
+
var __abs_hmr_routes = Reflect.get(pageModule, 'routes');
|
|
4134
|
+
window.__ANGULAR_HMR__.recordPageExports('${resolvedEntry}', __abs_hmr_routes, maybePageProviders);
|
|
4135
|
+
}
|
|
4136
|
+
|
|
4126
4137
|
// Re-Bootstrap HMR with View Transitions API.
|
|
4127
4138
|
// Skipped during fast-patch: the HMR client sets
|
|
4128
4139
|
// window.__ANGULAR_HMR_FAST_PATCH__ = true before \`import()\`-ing this
|
|
@@ -5438,5 +5449,5 @@ export {
|
|
|
5438
5449
|
ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER
|
|
5439
5450
|
};
|
|
5440
5451
|
|
|
5441
|
-
//# debugId=
|
|
5452
|
+
//# debugId=76CAE04381DA5DEA64756E2164756E21
|
|
5442
5453
|
//# sourceMappingURL=server.js.map
|