[Bug]: After installing Acro, introduce custom CSS, the program exits directly
Version
mac 和window都会出现
Details
rsbuild安装acro后引入自定义css,程序直接退出,webpack和vite都没问题,详情见仓库链接
Reproduce link
https://gitee.com/xiangminya/rsbuild-demo
Reproduce Steps
直接运行项目就会报错,注释掉入口文件的import '@arco-themes/vue-gi-demo/css/arco.css' 就会正常运行
When I turn off lightningcssLoader, everything works fine. You can temporarily turn off lightningcssLoader through tools.lightningcssLoader: false. We will continue to investigate the cause.
https://rsbuild.dev/guide/basic/css-usage#disabling-lightning-css
When I turn off
lightningcssLoader, everything works fine. You can temporarily turn offlightningcssLoaderthroughtools.lightningcssLoader: false. We will continue to investigate the cause.https://rsbuild.dev/guide/basic/css-usage#disabling-lightning-css
ok. thinks
大佬,还有问题vue单文件里面,一旦添加或者删除style标签,编译也会直接,这个库就能复现
还有问题vue单文件里面,一旦添加或者删除style标签,编译也会直接,这个库就能复现
see https://github.com/web-infra-dev/rspack/issues/7805
Reference to: https://github.com/parcel-bundler/lightningcss/issues/827
This issue should be fixed by https://github.com/parcel-bundler/lightningcss/pull/832, we will bump LightningCSS version when they release a new version.