Skip to content

fix: recommend ng17 dist dir based on builder #5445

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

Merged
merged 4 commits into from
Dec 18, 2023

Conversation

Skn0tt
Copy link
Contributor

@Skn0tt Skn0tt commented Dec 11, 2023

Similar to netlify/angular-runtime#94.

In the Angular world, a builder is something like a bundling strategy, and they decide where to output static assets. Newly created Angular applications use the application builder, which emits static assets into dist/<project-name>/browser. Old applications that updated to NG17 can still use other builders, like the browser builder. Surprise: They output into dist/<project-name>! This PR makes us take that into account when recommending a publish directory.

@Skn0tt Skn0tt requested a review from JGAntunes December 11, 2023 15:12
@Skn0tt Skn0tt self-assigned this Dec 11, 2023
@Skn0tt Skn0tt requested review from a team as code owners December 11, 2023 15:12
JGAntunes
JGAntunes previously approved these changes Dec 11, 2023
@Skn0tt
Copy link
Contributor Author

Skn0tt commented Dec 12, 2023

ugh, there was a failure on windows - looks like i'll need another approval

@Skn0tt Skn0tt enabled auto-merge (squash) December 18, 2023 12:14
@Skn0tt Skn0tt merged commit 494ffcc into main Dec 18, 2023
@Skn0tt Skn0tt deleted the ng17-dist-dir-based-on-builder branch December 18, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants