Package Exports
- rspack-plugin-cli-copy
Readme
rspack-plugin-cli-copy
Start the project and automatically copy the network URL of the terminal
English | 简体中文
Install
npm install rspack-plugin-cli-copy -D
pnpm add rspack-plugin-cli-copy -D
Usage
rspack config
- rspack.config.ts
import { defineConfig } from '@rspack/cli'
import { rspackCliCopyPlugin } from 'rspack-plugin-cli-copy'
export default defineConfig({
plugins: [new rspackCliCopyPlugin()]
})
rsbuild config
- rsbuild.config.ts
import { defineConfig } from '@rsbuild/core'
import { rsbuildCliCopyPlugin } from 'rspack-plugin-cli-copy'
export default defineConfig({
plugins: [rsbuildCliCopyPlugin()]
})