Parcel plugin to watch and copy files recursively from source globs to the distribution directory.
Last updated 2 years ago by bluejeansandrain .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install parcel-plugin-resources 
SYNC missed versions from official npm registry.


Parcel plugin to watch and copy resources to the Parcel bundle directory. This plugin is actually just a thin wrapper for the cpx module.

By default, this plugin recursively copies all files from <rootDir>/resources into <bundleDir>/resources. The <rootDir> is the directory which contains your entry asset. If your entry asset is my/project/index.js, then the <rootDir> is my/project.

If parcel is started as a local development server, then all resources will be watched and automatically re-copied when changed, added, or removed.

Getting Started

Install the plugin:

yarn add --dev parcel-plugin-resources


npm install --dev parcel-plugin-resources

Parcel will automatically detect the plugin.


If you need to change the resource glob pattern or destination directory, you can add the following to your package.json.

  "resources": {
    "glob": "resources/**",
    "destination": "resources"

Default values are shown above.

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © |