Package Exports
- rspack-plugin-cli-copy
- rspack-plugin-cli-copy/dist/index.js
- rspack-plugin-cli-copy/dist/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rspack-plugin-cli-copy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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()]
})