You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: update prerender test to work with ESM APF v13 packages
This commit updates the pre-render test to work with APF v13 package
output which is strict ESM. Since the test runs inside Node, we would
need to update our test to run in ESM as well. This is not possible
with the Bazel NodeJS rules yet, and also there are a couple of more
issues with running ESM devmode directly in NodeJS:
* ESM requires an explicit extension for releative imports. TypeScript
will not add an explict extension so this breaks for our local package
output. A bundler is needed and this is what the CLI will do for SSR
as well.
* We want the Angular linked ESM bundles for framework packages as these
are only partially compiled. This is not possible to do without
modifiyng the node modules / or using a bundler that in-memory
modifies the resolved framework packages (like the CLI does with its
webpack plugins).
0 commit comments