Skip to content

ESM Module Output #17121

Closed

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

Activity

  1. moved this to Priority - High in webpack 5/6on May 2, 2023
  2. alexander-akait commented on May 2, 2023

    @alexander-akait
    Member

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

  3. webpack-bot commented on Nov 25, 2023

    @webpack-bot
    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.

  4. added
    status: staleNo author response after a needs: request; close candidate
    on Nov 25, 2023
  5. zackarychapple commented on Nov 27, 2023

    @zackarychapple

    bumping to keep from closing.

  6. removed
    status: staleNo author response after a needs: request; close candidate
    on Nov 27, 2023
  7. 0xUgochukwu commented on Mar 27, 2024

    @0xUgochukwu

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

  8. sarah-abeer commented on Oct 3, 2024

    @sarah-abeer

    please assign me this issue

  9. varunsehgal02 commented on Mar 2, 2025

    @varunsehgal02

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

  10. Jaishree2310 commented on Mar 3, 2025

    @Jaishree2310

    I like this project idea and would like to work under GSOC.
    I would appreciate some guidance to get started.
    @alexander-akait , @snitin315

  11. flying-pig007 commented on Mar 3, 2025

    @flying-pig007

    I would like to work on this project under GSoC. I would appreciate it if you could grant me your permission

  12. 111 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: optimizationTree-shaking, splitChunks, concatenation, ids (lib/optimize, lib/ids)area: runtimeEmitted runtime and chunk loading across targets (lib/runtime, lib/web, lib/node, lib/esm)webpack-5Concerns the webpack 5 line

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions