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
When attempting to use this package with NextJS, the following error occurs:
Failed to compile
./node_modules/jsuites/dist/jsuites.css
Global CSS cannot be imported from within node_modules.
Read more: https://err.sh/next.js/css-npm
Location: node_modules/jspreadsheet-ce/dist/index.js
The root of the issue is that there is a CSS import within this package, which NextJS does not support.
NextJS recommends the following: Reach out to the maintainer and ask for them to publish a compiled version of their dependency. Would this be possible? Would probably just be a matter of having a separate JS file that does not import the CSS file but does everything else the same way.
The text was updated successfully, but these errors were encountered:
When attempting to use this package with NextJS, the following error occurs:
The root of the issue is that there is a CSS import within this package, which NextJS does not support.
NextJS recommends the following:
Reach out to the maintainer and ask for them to publish a compiled version of their dependency.
Would this be possible? Would probably just be a matter of having a separate JS file that does not import the CSS file but does everything else the same way.The text was updated successfully, but these errors were encountered: