We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System: OS: macOS 14.2 CPU: (8) x64 Apple M3 Memory: 49.64 MB / 16.00 GB Shell: 5.9 - /bin/zsh Browsers: Chrome: 124.0.6367.91 Safari: 17.2 npmPackages: @rsbuild/core: ^0.6.7 => 0.6.7 @rsbuild/plugin-lightningcss: ^0.6.7 => 0.6.7 @rsbuild/plugin-react: ^0.6.7 => 0.6.7
import { pluginReact } from '@rsbuild/plugin-react'; import { pluginLightningcss } from '@rsbuild/plugin-lightningcss'; export default { source: { entry: { app: './src/app.tsx', }, }, plugins: [pluginReact(), pluginLightningcss()], };
the log is below:
start Compiling... error Compile error: Failed to compile, check the errors for troubleshooting. File: ./src/plugins/plugin-preview/device-preview.tsx × Resolve error: Can't resolve 'react-device-frameset/dist/styles/marvel-devices.min.css' in '/Users/wuwei/repos/lk/luckyladder/packages/client/src/plugins/plugin-preview' ╭─[2:1] 2 │ import React from "react"; 3 │ import { DeviceFrameset, DeviceEmulator } from "react-device-frameset"; 4 │ import "react-device-frameset/dist/styles/marvel-devices.min.css"; · ────────────────────────────────────────────────────────── 5 │ import "react-device-frameset/dist/styles/device-selector.min.css"; 6 │ const PreviewDevice = (props)=>{ ╰────
https://codepen.io/Justineo/pen/yLbxxOR
npm run dev
The text was updated successfully, but these errors were encountered:
Hello @dlutwuwei. Please provide a reproduction repository or online demo. For background, see Why reproductions are required. Thanks ❤️
Sorry, something went wrong.
@dlutwuwei the reproduction does not seem to match the problem described:
@chenjiahan I have a same issue, Css imported from node_modules not working
if I import a css file from node_modules like this import "tui-calendar/dist/tui-calendar.css";
import "tui-calendar/dist/tui-calendar.css";
Rsbuild build command throws the below error
Resolve error: Can't resolve 'tui-calendar/dist/tui-calendar.css'
@akmani-w please create a new issue and provide the reproduction, thanks ❤️
No branches or pull requests
Version
Details
the log is below:
Reproduce link
https://codepen.io/Justineo/pen/yLbxxOR
Reproduce Steps
npm run dev
The text was updated successfully, but these errors were encountered: