0.0.2 • Published 7 years ago
fs-copy-webpack-plugin v0.0.2
fs-copy-webpack-plugin
Install
npm i fs-copy-webpack-plugin --save-dev
# or
yarn add fs-copy-webpack-plugin --devHow to use
// webpack.config
module.exports = {
plugin: [
new FsCopyWebpackPlugin({
root: __dirname,
src: 'src',
dist: 'dist',
files: {
'a.png': 'b.png'
}
})
]
}./src/a.png will cope to ./dist/b.png