arco-plugins
arco-plugins copied to clipboard
Failed to run `@arco-plugins/unplugin-react` on rsbuild
- [x] I'm sure this does not appear in the issue list of the repository
Basic Info
- Package Name And Version: @arco-plugins/[email protected]
- Framework version: @rsbuild/[email protected]
- Environment: [email protected]
Steps to reproduce
Install rsbuild & @arco-plugins/unplugin-react latest
Add configuration see like the example
import { defineConfig } from '@rsbuild/core';
import { ArcoDesignPlugin } from '@arco-plugins/unplugin-react';
export default defineConfig({
tools: {
rspack: {
plugins: [
new ArcoDesignPlugin({
iconBox: '@arco-design/iconbox-react-m4b-next',
theme: 'theme',
}),
],
},
},
})
run rsbuild dev
it will throw error see like: