Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESM Module Output #17121

Open
23 tasks
TheLarkInn opened this issue May 2, 2023 · 4 comments
Open
23 tasks

ESM Module Output #17121

TheLarkInn opened this issue May 2, 2023 · 4 comments

Comments

@TheLarkInn
Copy link
Member

TheLarkInn commented May 2, 2023

  • Consuming build output at build time
    • Build output supports tree-shaking
    • Weird CommonJS modules are wrapped
    • 馃拵import() is statically analyse-able
    • 馃拵Nice CommonJS modules are converted to ESM
    • No additional runtime code
    • module-wide side-effect information is kept in build output (generate package.json? use PURE flag?)
  • Developer Expreience
    • Inform (warn) the user about modules that are converted to strict mode
    • delete x in modules should be a build error as code is compiled in strict mode
  • Use the platform
    • load HMR manifest via import() + cache busting (mem leak? is fetch better?)
    • load HMT chunks via import()
    • prefetch JS chunks via module preload/prefetch + new URL(...)
  • Consuming build output at runtime
    • 馃拵Live Bindings to entrypoint
    • 馃拵Test case for circular dependency w/ external
  • Other
@alexander-akait
Copy link
Member

Related #2933, I will go through everything and add what we might have missed

@webpack-bot
Copy link
Contributor

This issue had no activity for at least three months.

It's subject to automatic issue closing if there is no activity in the next 15 days.

@zackarychapple
Copy link

bumping to keep from closing.

@0xUgochukwu
Copy link

hey, i'm intrested in working on this during the summer at GSoC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Priority - High
Development

No branches or pull requests

6 participants