Skip to content

ESM Module Output #17121

@TheLarkInn

Description

@TheLarkInn
  • Consuming build output at build time
  • 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 HMR chunks via import()
    • prefetch chunks/assets via module preload/prefetch + new URL(...)
  • Consuming build output at runtime
    • 💎Live Bindings to entrypoint
    • 💎Test case for circular dependency w/ external
  • Other
    • Preserve CSS Import - (@vankop more information)
    • Preserve Reexport from Externals
    • Preserve new URL(), new Worker(). Maybe magic comment for this?
    • Support workerChunkLoading: "module" for node target

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions