Open SHAGGYER opened 3 years ago
When importing CustomDialog, I get an error. My code is:
const CustomDialogPromise = import("react-st-modal").then( (module) => module.CustomDialog );
The error is:
SyntaxError: Cannot use import statement outside a module
i have this problem too. But not in development, only in production. in local production and in Vercel too
When importing CustomDialog, I get an error. My code is:
The error is: