1 thought on “why does webpack pack node-libs-browser in to the bundle.

  1. I came to this issue after discovering node-libs-browser in my bundle. Turns out something in @babel/runtime references the process object directly, which causes webpack to inject the browser package. I fixed the issue by adding node: false to my webpack config.

Comments are closed.