You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use your library in a React project. It runs just fine, and I quite fond of it.
Hovever I get an error message when I want to make a production build.
./node_modules/didyoumean2/dist/index.mjs
Can't import the named export 'distance' from non EcmaScript module (only default export is available)
I made a search and it seems that the react cli tools create-react-app could not handle a certain export type. I tried a suggested solution to add react-app-rewired and make a configuration change, but it is not working for me.
Now I stranded here.
The text was updated successfully, but these errors were encountered:
I tried with import didYouMean, { ReturnTypeEnums } from "didyoumean2/dist/index.cjs";
The build failed with: Attempted import error: 'ReturnTypeEnums' is not exported from 'didyoumean2/dist/index.cjs''
My only workaround is that I use version 3.1.0
I use your library in a React project. It runs just fine, and I quite fond of it.
Hovever I get an error message when I want to make a production build.
./node_modules/didyoumean2/dist/index.mjs
Can't import the named export 'distance' from non EcmaScript module (only default export is available)
I made a search and it seems that the react cli tools create-react-app could not handle a certain export type. I tried a suggested solution to add react-app-rewired and make a configuration change, but it is not working for me.
Now I stranded here.
The text was updated successfully, but these errors were encountered: