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
module.less file reports an error when packaging (rsbuild build), @primary-color is a less variable in antd V4.
System: OS: macOS 14.5 CPU: (8) arm64 Apple M1 Pro Memory: 123.38 MB / 16.00 GB Shell: 5.9 - /bin/zsh Browsers: Chrome: 126.0.6478.127 Chrome Canary: 128.0.6596.0 Safari: 17.5 npmPackages: @rsbuild/core: 1.0.1-beta.1 => 1.0.1-beta.1 @rsbuild/plugin-less: 1.0.1-beta.1 => 1.0.1-beta.1 @rsbuild/plugin-react: 1.0.1-beta.1 => 1.0.1-beta.1 @rsbuild/plugin-svgr: 1.0.1-beta.1 => 1.0.1-beta.1
无
pnpm run build
The text was updated successfully, but these errors were encountered:
已通过配置rsbuild.config.js解决 pluginLess({ lessLoaderOptions: { lessOptions: { modifyVars: { 'primary-color': '#3f85fc', } } })
Sorry, something went wrong.
Get, seems to be unrelated to Rsbuild, I will close this issue.
No branches or pull requests
Version
module.less file reports an error when packaging (rsbuild build), @primary-color is a less variable in antd V4.
Details
Reproduce link
无
Reproduce Steps
pnpm run build
The text was updated successfully, but these errors were encountered: