1.0.0 • Published 6 years ago

parcel-plugin-static v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

parcel-plugin-static

Parcel plugin for copying everything from a configurable source directory to the a configurable directory inside the bundle.

Made this because I needed it.

Default source: 'static' - will be the "static" folder in the root of your project

Default destination: 'static' - will be "dist/static" for most people, leave it empty if you want to copy the files directly into the dist directory.

Configuration

Inside your main package.json add this:

"parcel-plugin-static": {
  "source": "static",
  "destination": "static"
}

Remember that source is relative to the root of your project and destination is relative to the dist folder.