Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Issue running react-crisp with vitejs #39

Open
KannarFr opened this issue Mar 25, 2021 · 2 comments
Open

Issue running react-crisp with vitejs #39

KannarFr opened this issue Mar 25, 2021 · 2 comments

Comments

@KannarFr
Copy link

KannarFr commented Mar 25, 2021

https://vitejs.dev/ comes with a very fast build/reload/serve for JavaScript applications. Condidering,

"scripts": {
  "dev": "vite",
  "build": "vite build",
  "serve": "vite preview"
},

It works well using yarn dev but there are errors on modification using yarn build && yarn serve.

Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=object&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

I am not sure this issue is related to react-crisp but maybe you have ideas?

@KannarFr
Copy link
Author

vitejs/vite#2139

@KannarFr
Copy link
Author

As explained here: rollup/plugins#481, the quick solution seems to release react-crisp-es as it's done for lodash & lodash-es, to support esm version. Can you release it?

GuillaumeOj added a commit that referenced this issue Apr 6, 2021
As it was asked in #39
This add a new target for building the package.
@GuillaumeOj GuillaumeOj linked a pull request Apr 6, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant