immerjs / immer

Create the next immutable state by mutating the current one
https://immerjs.github.io/immer/
MIT License
27.5k stars 850 forks source link

Configure rollup #1126

Open bledson opened 3 months ago

bledson commented 3 months ago

🙋‍♂ Question

I'm trying to use lit (using rollup) with immer, but I receive the following error:

ReferenceError: process is not defined

What is the correct way to configure rollup?

Environment