@absolutejs/absolute 0.19.0-beta.983 → 0.19.0-beta.984
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/index.js
CHANGED
|
@@ -24703,7 +24703,30 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, runSequent
|
|
|
24703
24703
|
await diskRefreshPromise;
|
|
24704
24704
|
}, compileAndBundleAngular = async (state, pageEntries, angularDir) => {
|
|
24705
24705
|
const { compileAngular: compileAngular2 } = await Promise.resolve().then(() => (init_compileAngular(), exports_compileAngular));
|
|
24706
|
-
const {
|
|
24706
|
+
const { runAngularHandlerScan: runAngularHandlerScan2 } = await Promise.resolve().then(() => (init_runAngularHandlerScan(), exports_runAngularHandlerScan));
|
|
24707
|
+
const { parseAngularProvidersImport: parseAngularProvidersImport2 } = await Promise.resolve().then(() => (init_parseAngularConfigImports(), exports_parseAngularConfigImports));
|
|
24708
|
+
const projectRoot = process.cwd();
|
|
24709
|
+
const providersImport = parseAngularProvidersImport2(projectRoot);
|
|
24710
|
+
const providersInjection = providersImport ? (() => {
|
|
24711
|
+
const scan = runAngularHandlerScan2(projectRoot, angularDir);
|
|
24712
|
+
const basePathByKey = new Map;
|
|
24713
|
+
for (const call of scan.calls) {
|
|
24714
|
+
basePathByKey.set(call.manifestKey, call.mountPath?.endsWith("/*") ? call.mountPath.slice(0, -1) : null);
|
|
24715
|
+
}
|
|
24716
|
+
const pagesByFile = new Map;
|
|
24717
|
+
for (const route of scan.pageRoutes) {
|
|
24718
|
+
const basePath = basePathByKey.get(route.manifestKey) ?? null;
|
|
24719
|
+
pagesByFile.set(route.pageFile, {
|
|
24720
|
+
basePath: basePath === "/" ? null : basePath,
|
|
24721
|
+
hasRoutes: route.hasRoutes
|
|
24722
|
+
});
|
|
24723
|
+
}
|
|
24724
|
+
return {
|
|
24725
|
+
appProvidersSource: providersImport.absolutePath,
|
|
24726
|
+
pagesByFile
|
|
24727
|
+
};
|
|
24728
|
+
})() : undefined;
|
|
24729
|
+
const { clientPaths, serverPaths } = await compileAngular2(pageEntries, angularDir, true, getStyleTransformConfig(state.config), providersInjection);
|
|
24707
24730
|
(async () => {
|
|
24708
24731
|
try {
|
|
24709
24732
|
const { primeComponentFingerprint: primeComponentFingerprint2 } = await Promise.resolve().then(() => (init_fastHmrCompiler(), exports_fastHmrCompiler));
|
|
@@ -35492,5 +35515,5 @@ export {
|
|
|
35492
35515
|
ANGULAR_INIT_TIMEOUT_MS
|
|
35493
35516
|
};
|
|
35494
35517
|
|
|
35495
|
-
//# debugId=
|
|
35518
|
+
//# debugId=0244A1632C26E1F164756E2164756E21
|
|
35496
35519
|
//# sourceMappingURL=index.js.map
|