Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Oct 3, 2023

The build E2E tests have now been enabled for the esbuild-based builders. The bundle budget test is currently skipped pending feature implementation. Several redundant tests were also deleted due to the functionality already being covered by unit tests for the builders.

Also contains several commits with builder fixes based on the enabled tests.

@clydin clydin added the target: major This PR is targeted for the next major release label Oct 3, 2023
@clydin clydin force-pushed the esbuild/even-more-e2e-tests branch 7 times, most recently from 27e582a to 7a0d6b7 Compare October 5, 2023 18:20
@clydin clydin force-pushed the esbuild/even-more-e2e-tests branch 5 times, most recently from 3cce286 to 14808ef Compare October 31, 2023 19:59
…global scripts in application builder

When using the `scripts` option with the esbuild-based builders (`application`/`browser-esbuild`), the
JavaScript code from the scripts will now be processed based on the targets provided in the application's
browserslist file. This prevents unsupported syntax from being present in the output script chunk that is
generated.
@clydin clydin force-pushed the esbuild/even-more-e2e-tests branch from 14808ef to dd60a2c Compare October 31, 2023 20:20
…perty in Vite-based dev server

The protractor E2E builder relies on a development server `baseUrl` result property to determine the address
to connect when testing the application. The Vite-based development server now also provides this
property. While the protractor builder is considered deprecated, it is still used in CLI E2E tests.
@clydin clydin force-pushed the esbuild/even-more-e2e-tests branch from dd60a2c to 547f242 Compare October 31, 2023 21:49
@clydin clydin added target: rc This PR is targeted for the next release-candidate and removed target: major This PR is targeted for the next major release labels Oct 31, 2023
…d correctly with dev server

The `server-utils` SSR generated chunk was not previously included in the ESM in memory loader for
prerendering which resulted in the ESM resolver incorrectly attempting to resolve non-relative
dependencies. This would lead to resolution errors when using the development server with caching
enabled. In this scenario, the Angular dependencies would be marked external and the server utilities
output chunk would contain non-relative imports and fail to prerender.
@clydin clydin force-pushed the esbuild/even-more-e2e-tests branch from 547f242 to f978268 Compare October 31, 2023 23:33
The build E2E tests have now been enabled for the esbuild-based builders.
The bundle budget test is currently skipped pending feature implementation.
Several redundant tests were also deleted due to the functionality already being
covered by unit tests for the builders.
@clydin clydin force-pushed the esbuild/even-more-e2e-tests branch from f978268 to 8b5c48e Compare November 1, 2023 00:13
@clydin clydin marked this pull request as ready for review November 1, 2023 01:11
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Nov 1, 2023
@clydin clydin requested a review from alan-agius4 November 1, 2023 01:12
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 1, 2023
@alan-agius4 alan-agius4 merged commit 8bd90ff into angular:main Nov 1, 2023
@clydin clydin deleted the esbuild/even-more-e2e-tests branch November 1, 2023 13:51
@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 2, 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: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants