Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Also, if you want to check the bundle content try to install rollup-plugin-visualizer, this way you can be sure that react it is not part of the bundle. Commented Dec 11, 2020 at 22:11
  • Hi @lissettdm, thank you for your suggestions. Sadly, explicitly setting the externals array had no effect and I can see that React or ReactDOM is not in the visualisation from rollup-plugin-visualizer (see original post for update) Commented Dec 11, 2020 at 23:05
  • Are you using npm link? Commented Dec 11, 2020 at 23:14
  • @lissettdm just about to try again Commented Dec 11, 2020 at 23:20

lang-js