Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: can't import css in node_modules #8519

Closed
ustcfury opened this issue Nov 25, 2024 · 2 comments
Closed

[Bug]: can't import css in node_modules #8519

ustcfury opened this issue Nov 25, 2024 · 2 comments
Assignees
Labels
bug Something isn't working need reproduction

Comments

@ustcfury
Copy link

System Info

node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js

import './accessibilityHelp.css';
....

console:
Image

rspack from '0.5.7' to '1.1.3' then get this error

Details

node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js

import './accessibilityHelp.css';
....

console:
Image

rspack from '0.5.7' to '1.1.3' then get this error

Reproduce link

No response

Reproduce Steps

node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js

import './accessibilityHelp.css';
....

console:
Image

rspack from '0.5.7' to '1.1.3' then get this error

@ustcfury ustcfury added bug Something isn't working pending triage The issue/PR is currently untouched. labels Nov 25, 2024
Copy link
Contributor

Hello @ustcfury, sorry we can't investigate the problem further without reproduction demo, please provide a repro demo by forking rspack-repro, or provide a minimal GitHub repository by yourself. Issues labeled by need reproduction will be closed if no activities in 14 days.

@JSerFeng
Copy link
Collaborator

If you are using FF, try using css-extract-plugin here, it maybe caused by this i'm not sure, if you can give a repro that will be very helpful

@JSerFeng JSerFeng self-assigned this Nov 25, 2024
@chenjiahan chenjiahan removed the pending triage The issue/PR is currently untouched. label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need reproduction
Projects
None yet
Development

No branches or pull requests

4 participants