best approach to use rollup instead of webpack to output esm build of components #6103
Replies: 3 comments
-
|
Context: I want to generate esm Module because I use dynamic import inside some components. |
Beta Was this translation helpful? Give feedback.
-
|
I followed the example here: Executing the pipelines |
Beta Was this translation helpful? Give feedback.
-
|
in #4727 @benjgil said bit wil target esm build by default in a near futur. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I would like my react components to be build as esm module with rollup.
after lot of time spent on the doc, I would try the following:
bit create react-env envs/react-rollup-envbit env set path/to/my-component envs/react-rollup-envbit create build-task modules/rollup-taskis this a good start ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions