parcel-plugin-copy
v1.0.2
Published
it is parcel plugin that copy static dir to target dir
Maintainers
Readme
Copy static dir to your bundle dir
Table of Contents
Install
This project uses node and npm.
$ npm install --dev-save parcel-plugin-copy
$ # OR
$ yarn add --dev parcel-plugin-copyUsage
Add a staticPath property to your package.json. See package.json for example or as follows:
staticPath: {
"source": "/source/dir",
"target": "/target/dir"
}OR
staticPath: {
"source": "['/source/dir','/source/static']",
"target": "['/target/dir','/target/static']"
},Contribute
- Fork it and create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request
License
MIT
