parcel-plugin-static
v1.0.0
Published
Parcel plugin for copying everything from a configurable source directory to the a configurable directory inside the bundle.
Downloads
3
Readme
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.