Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Nov 8, 2024

Previously the fileReplacements option within the application builder would only replace .js files if the TypeScript allowJs option was enabled. This differs from the browser builder which did not require the option. To minimize friction when migrating to the new build system, the allowJs option is no longer required for this file replacement case.

@clydin clydin added the target: patch This PR is targeted for the next patch release label Nov 8, 2024
… cases

Previously the `fileReplacements` option within the `application` builder
would only replace `.js` files if the TypeScript `allowJs` option was enabled.
This differs from the `browser` builder which did not require the option.
To minimize friction when migrating to the new build system, the `allowJs`
option is no longer required for this file replacement case.
@clydin clydin force-pushed the application/js-file-replacements branch from d888149 to 3be5d33 Compare November 8, 2024 18:01
@clydin clydin marked this pull request as ready for review November 8, 2024 18:10
@clydin clydin requested a review from alan-agius4 November 8, 2024 18:10
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Nov 8, 2024
@alan-agius4 alan-agius4 merged commit a325c9a into angular:main Nov 8, 2024
33 checks passed
@alan-agius4
Copy link
Collaborator

The changes were merged into the following branches: main, 18.2.x, 19.0.x

@clydin clydin deleted the application/js-file-replacements branch November 8, 2024 19:07
@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 Dec 9, 2024
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 area: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Esbuild Builders behave differently than Webpack Builders with .js fileReplacements

2 participants