@absolutejs/absolute 0.19.0-beta.974 → 0.19.0-beta.976
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/angular/index.js +9 -5
- package/dist/angular/index.js.map +3 -3
- package/dist/angular/server.js +9 -5
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +8 -3
- package/dist/build.js.map +4 -4
- package/dist/index.js +8 -3
- package/dist/index.js.map +4 -4
- package/dist/src/build/runAngularHandlerScan.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12516,7 +12516,9 @@ var runAngularHandlerScan = (projectRoot, angularDirectory) => {
|
|
|
12516
12516
|
const providersImport = parseAngularProvidersImport(projectRoot);
|
|
12517
12517
|
const providersFiles = emitAngularProvidersFiles(projectRoot, angularDirectory, calls, pageRoutes, { providersImport });
|
|
12518
12518
|
emitAngularRouteMounts(projectRoot, calls);
|
|
12519
|
+
const angularEntryAddons = providersImport ? [providersImport.absolutePath] : [];
|
|
12519
12520
|
return {
|
|
12521
|
+
angularEntryAddons,
|
|
12520
12522
|
calls,
|
|
12521
12523
|
manifestKeysWithProviders: new Set(providersFiles.map((file2) => file2.manifestKey)),
|
|
12522
12524
|
pageRoutes,
|
|
@@ -20349,10 +20351,12 @@ ${content.slice(firstUseIdx)}`;
|
|
|
20349
20351
|
const shouldCompileIslandSvelte = svelteDir && islandSvelteSources.length > 0;
|
|
20350
20352
|
const shouldCompileIslandVue = vueDir && islandVueSources.length > 0;
|
|
20351
20353
|
const shouldCompileIslandAngular = angularDir && islandAngularSources.length > 0;
|
|
20354
|
+
let angularProvidersEntryAddons = [];
|
|
20352
20355
|
if (shouldCompileAngular && angularDir) {
|
|
20353
20356
|
await tracePhase("scan/angular-handlers", async () => {
|
|
20354
20357
|
const { runAngularHandlerScan: runAngularHandlerScan2 } = await Promise.resolve().then(() => (init_runAngularHandlerScan(), exports_runAngularHandlerScan));
|
|
20355
|
-
runAngularHandlerScan2(projectRoot, angularDir);
|
|
20358
|
+
const scanResult = runAngularHandlerScan2(projectRoot, angularDir);
|
|
20359
|
+
angularProvidersEntryAddons = scanResult.angularEntryAddons;
|
|
20356
20360
|
});
|
|
20357
20361
|
}
|
|
20358
20362
|
const [
|
|
@@ -20377,7 +20381,8 @@ ${content.slice(firstUseIdx)}`;
|
|
|
20377
20381
|
},
|
|
20378
20382
|
shouldCompileAngular ? tracePhase("compile/angular", async () => {
|
|
20379
20383
|
const mod = await Promise.resolve().then(() => (init_compileAngular(), exports_compileAngular));
|
|
20380
|
-
const
|
|
20384
|
+
const combinedAngularEntries = angularProvidersEntryAddons.length > 0 ? [...angularEntries, ...angularProvidersEntryAddons] : angularEntries;
|
|
20385
|
+
const result = await mod.compileAngular(combinedAngularEntries, angularDir, hmr, styleTransformConfig);
|
|
20381
20386
|
if (hmr) {
|
|
20382
20387
|
try {
|
|
20383
20388
|
const { primeComponentFingerprint: primeComponentFingerprint2 } = await Promise.resolve().then(() => (init_fastHmrCompiler(), exports_fastHmrCompiler));
|
|
@@ -35642,5 +35647,5 @@ export {
|
|
|
35642
35647
|
ANGULAR_INIT_TIMEOUT_MS
|
|
35643
35648
|
};
|
|
35644
35649
|
|
|
35645
|
-
//# debugId=
|
|
35650
|
+
//# debugId=192D823B278E9AC264756E2164756E21
|
|
35646
35651
|
//# sourceMappingURL=index.js.map
|