@absolutejs/absolute 0.19.0-beta.1057 → 0.19.0-beta.1059
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/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +12 -7
- package/dist/build.js.map +3 -3
- package/dist/index.js +12 -7
- package/dist/index.js.map +3 -3
- package/dist/src/utils/spaRouteCss.d.ts +1 -1
- package/dist/vue/index.js +8 -2
- package/dist/vue/index.js.map +3 -3
- package/dist/vue/server.js +8 -2
- package/dist/vue/server.js.map +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Resolve
|
|
1
|
+
/** Resolve SPA child route compiled CSS for a request.
|
|
2
2
|
* Returns the CSS text (possibly empty) so the page handler can
|
|
3
3
|
* inline it alongside the parent page's own sibling CSS. */
|
|
4
4
|
export declare const resolveSpaChildCss: (siblingJsPath: string | undefined, requestUrl: string | undefined) => Promise<string>;
|
package/dist/vue/index.js
CHANGED
|
@@ -4053,7 +4053,13 @@ var resolveSpaChildCss = async (siblingJsPath, requestUrl) => {
|
|
|
4053
4053
|
const matched = findMatchingRoute(routes, pathname);
|
|
4054
4054
|
if (!matched)
|
|
4055
4055
|
return "";
|
|
4056
|
-
|
|
4056
|
+
const cssPaths = [
|
|
4057
|
+
matched.cssPath,
|
|
4058
|
+
...routes.map((route) => route.cssPath)
|
|
4059
|
+
].filter((cssPath, index, all) => cssPath && all.indexOf(cssPath) === index);
|
|
4060
|
+
const chunks = await Promise.all(cssPaths.map((cssPath) => readChildCss(cssPath, sideManifestPath)));
|
|
4061
|
+
return chunks.filter(Boolean).join(`
|
|
4062
|
+
`);
|
|
4057
4063
|
};
|
|
4058
4064
|
|
|
4059
4065
|
// src/core/islandPageContext.ts
|
|
@@ -5237,5 +5243,5 @@ export {
|
|
|
5237
5243
|
Image
|
|
5238
5244
|
};
|
|
5239
5245
|
|
|
5240
|
-
//# debugId=
|
|
5246
|
+
//# debugId=8A1F2DBFD8ABED0064756E2164756E21
|
|
5241
5247
|
//# sourceMappingURL=index.js.map
|