Skip to content

rstackjs/rspack-plugin-cli-copy

Repository files navigation

rspack-plugin-cli-copy

Start the project and automatically copy the network URL of the terminal

NPM version NPM Downloads

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()]
})

About

Start the project and automatically copy the network URL of the terminal

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •