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
In the SSR compiler, dynamic import()s should (probably) be no-ops because we run in sync mode so you wouldn't be able to do anything with the constructor you import anyway.
We also need to strip these import()s anyway because core will complain if it sees them after compilation.
The text was updated successfully, but these errors were encountered:
nolanlawson
changed the title
[SSR] Make dynamic import()s no-ops and block importing @lwc/ssr-runtime
[SSR] Make dynamic import()s no-ops
Nov 15, 2024
In the SSR compiler, dynamic
import()
s should (probably) be no-ops because we run in sync mode so you wouldn't be able to do anything with the constructor you import anyway.We also need to strip these
import()s
anyway because core will complain if it sees them after compilation.The text was updated successfully, but these errors were encountered: