Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immer fails to build with parcel #338

Closed
mweststrate opened this issue Mar 20, 2019 · 1 comment
Closed

Immer fails to build with parcel #338

mweststrate opened this issue Mar 20, 2019 · 1 comment
Labels

Comments

@mweststrate
Copy link
Collaborator

mweststrate commented Mar 20, 2019

🐛 Bug Report

This issue is just a FYI, for others running into this, the actual issue can be tracked here: parcel-bundler/parcel#2820

When using immer with parcel, the following error occurs:

🚨  /home/michel/Dropbox/presentaties/parcel-bug/node_modules/immer/dist/immer.module.js:1065:113: Export 'original' is not defined (1065:113)
  1063 | 
  1064 | export default produce;
> 1065 | export { produce, setAutoFreeze, setUseProxies, applyPatches$1 as applyPatches, createDraft, finishDraft, Immer, original, isDraft, isDraftable, NOTHING as nothing, DRAFTABLE as immerable };
       |                                                                                                                 ^
  1066 | 
  1067 | 

To Reproduce

Run yarn build on the repo linked below

Expected behavior

Link to repro (highly encouraged)

https://github.com/mweststrate/parcel-bug

@mweststrate
Copy link
Collaborator Author

Closing, fixed by latest parcel version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant