Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(@angular-devkit/build-angular): update vite to be able to serve app-shell and SSG pages #25653

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Aug 9, 2023

This commits, update the application builder and vite dev-server to be able to serve the app-shell and prerendered pages.

@alan-agius4 alan-agius4 force-pushed the ssr-prerender-dev-server branch 4 times, most recently from 49c5abe to fdd5d6f Compare August 9, 2023 11:31
…pp-shell and SSG pages

This commits, update the application builder and vite dev-server to be able to serve the app-shell and prerendered pages.
@alan-agius4 alan-agius4 requested a review from clydin August 9, 2023 13:08
@alan-agius4 alan-agius4 marked this pull request as ready for review August 9, 2023 13:08
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: rc This PR is targeted for the next release-candidate target: patch This PR is targeted for the next patch release and removed target: rc This PR is targeted for the next release-candidate labels Aug 9, 2023
@@ -164,7 +164,7 @@ export function createServerCodeBundleOptions(
const polyfills = [`import '@angular/platform-server/init';`];

if (options.polyfills?.includes('zone.js')) {
polyfills.push(`import 'zone.js/node';`);
polyfills.push(`import 'zone.js/fesm2015/zone-node.js';`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should consider updating the zone.js package to include a exports definition so we don't have to deep import.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we should that.

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release and removed action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Aug 11, 2023
@alan-agius4 alan-agius4 merged commit f3229c4 into angular:main Aug 14, 2023
26 checks passed
@alan-agius4 alan-agius4 deleted the ssr-prerender-dev-server branch August 14, 2023 08:57
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants