copy-entry-output-webpack-plugin

A Webpack plugin for copying output files in another location based on entry dependencies

Usage no npm install needed!

<script type="module">
  import copyEntryOutputWebpackPlugin from 'https://cdn.skypack.dev/copy-entry-output-webpack-plugin';
</script>

README

copy-entry-output-webpack-plugin

npm npm npm npm npm


A Webpack plugin for copying output files in another location based on entry dependencies

NPM

NPM


This plugin only works after the output file is generated, it is just a simple copy of the resource

Feature:

  • Compare the difference of copy-webpack-plugin, copy-webpack-plugin is to copy files and let the files go through the compilation process again, and this plugin simply performs a copy operation after all output files are generated
  • Analyze the entry dependency and choose to copy the associated files according to the matching rules

usage

install

npm install copy-entry-output-webpack-plugin --save-dev

use

请参阅 lib/index.js this.options 注释(暂时没时间详细写明,看一下注释吧)