Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lijialiang/fs-copy-webpack-plugin
https://github.com/lijialiang/fs-copy-webpack-plugin
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lijialiang/fs-copy-webpack-plugin
- Owner: lijialiang
- License: mit
- Created: 2018-11-15T06:49:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-24T07:07:16.000Z (almost 6 years ago)
- Last Synced: 2024-08-08T22:19:39.177Z (3 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fs-copy-webpack-plugin
## Install
```sh
npm i fs-copy-webpack-plugin --save-dev# or
yarn add fs-copy-webpack-plugin --dev
```## How to use
```js
// 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`