rspack-plugin-cli-copy
v0.0.7
Published
Start the project and automatically copy the cli network url
Downloads
18
Readme
简体中文 | English
安装
npm install rspack-plugin-cli-copy -D
pnpm add rspack-plugin-cli-copy -D
使用
rspack 配置
- rspack.config.ts
import { defineConfig } from '@rspack/cli'
import { rspackCliCopyPlugin } from 'rspack-plugin-cli-copy'
export default defineConfig({
plugins: [new rspackCliCopyPlugin()]
})
rsbuild 配置
- rsbuild.config.ts
import { defineConfig } from '@rsbuild/core'
import { rsbuildCliCopyPlugin } from 'rspack-plugin-cli-copy'
export default defineConfig({
plugins: [rsbuildCliCopyPlugin()]
})