A Webpack plugin for copying output files in another location based on entry dependencies
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
install
npm install copy-entry-output-webpack-plugin --save-dev
use
请参阅 lib/index.js this.options
注释(暂时没时间详细写明,看一下注释吧)