broccolijs / broccoli

Browser compilation library – an asset pipeline for applications that run in the browser
https://broccoli.build
MIT License
3.33k stars 217 forks source link

Conditionally use `esm` package #499

Open NullVoxPopuli opened 2 years ago

NullVoxPopuli commented 2 years ago

Resolves: https://github.com/broccolijs/broccoli/issues/498

Tested on: https://stackblitz.com/github/nullvoxpopuli/broccoli/tree/remove-esm (for which the esm package does not work at all)

NullVoxPopuli commented 2 years ago

I can confirm that removing the esm code from broccoli allows me to make progress at: https://stackblitz.com/github/ember-cli/editor-output/tree/stackblitz-app-output