arco-plugins icon indicating copy to clipboard operation
arco-plugins copied to clipboard

Failed to run `@arco-plugins/unplugin-react` on rsbuild

Open Justinidlerz opened this issue 1 year ago • 0 comments

Basic Info

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: image

Justinidlerz avatar Jul 30 '24 03:07 Justinidlerz