decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.7k stars 3.03k forks source link

Fix immer produce import in registry.js (core) #6973

Closed ebouther closed 7 months ago

ebouther commented 8 months ago

Summary

Fix immer produce import in registry.js (decap-cms-core). only brackets were missing.

Checklist

Please add a x inside each checkbox:

A picture of a cute animal (not mandatory but encouraged)

netlify[bot] commented 8 months ago

Deploy Preview for cms-demo ready!

Name Link
Latest commit 21acb1b01a33742cca04a8fbe63f52358ea82371
Latest deploy log https://app.netlify.com/sites/cms-demo/deploys/655f1da1be05e400086f110b
Deploy Preview https://deploy-preview-6973--cms-demo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 8 months ago

Deploy Preview for decap-www canceled.

Name Link
Latest commit 21acb1b01a33742cca04a8fbe63f52358ea82371
Latest deploy log https://app.netlify.com/sites/decap-www/deploys/655f1da1f8673c000810ca49
martinjagodic commented 8 months ago

@ebouther does this solve any issues?

ebouther commented 8 months ago

@martinjagodic Yes, otherwise I have the following error which prevents me from using the lib with vite:

Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/immer.js?v=d4989389' does not provide an export named 'default' (at registry.js?t=1700474777354:2:8)