copyassets-webpack-plugin
Webpack plugin that copies over compiled assets to additional folders. Useful in cases where compiled assets need to exist multiple places such as when assets, but you don't want to create multiple entry points which would cause additional compilations.
Usage
var path = ;var webpack = ;var CopyAssetsPlugin = ;var outputPath = __dirname;var additionalOutputPath = path;var yetAnotherOutputPath = path;moduleexports =entry:'index': 'index.js'output:path: outputPathfilename: '[name].bundle.js'plugins:additionalOutputPath yetAnotherOutputPathstats:colors: true;
Todo
- Filter which files are copied
- Move some files rather than copy
Contributions
Issues and Pull Requests are welcome.