Open JohnMealy23 opened 4 years ago
Same problem
Importing CSS files within node_modules cannot be supported https://github.com/vercel/next.js/blob/master/errors/css-npm.md
Running into the same issue
Yep, same here. The best solution imo is to simply remove the import from index.js
and then require users to import it themselves. This would also enable users to ship their own styles.
https://github.com/uiwjs/react-md-editor/issues/52#issuecomment-848969341
Perfect solution. @sodatat @JohnMealy23
Looks like NextJs is incompat with your module's method for including CSS. I get the following error when attempting to include your package.
More of an FYI, though. Thanks for contributing to open source, and feel free to close this out if you have no interest in fixing!