Configure rollup
Open
Nobody has claimed this yet.
question
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 881
- PR merge metrics
- No merged PRs in 30d
Description
🙋♂ 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
- Immer version:10.1.1
- Occurs with
setUseProxies(true) - Occurs with
setUseProxies(false)(ES5 only)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or Rollup configuration. Start by reviewing the Rollup setup used with Immer 10.1.1 and reproduce the error in a lit application; the work is done when that setup runs without the reported process reference error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, rollup
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100