DTStack / DTStack/molecule

bug: Global CSS cannot be imported from within node_modules

Open
#823 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
970
Forks
141
PR merge metrics
No merged PRs in 30d

Description

### Description

Next.js does not support the global CSS imported from within node_modules. Refer to:

https://nextjs.org/docs/messages/css-npm

![image](https://user-images.githubusercontent.com/2766811/199642619-27b0cb09-8431-4009-9b08-16a16f68d503.png)

And the `monaco-editor` has many style files are imported within node_modules:

![image](https://user-images.githubusercontent.com/2766811/199642982-73031e52-9f59-48b5-96b1-488cbb927279.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.