Skip to content

yplgreenlotus/parcel-plugin-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-copy

Usage

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

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am 'Add some feature'
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

About

it is parcel plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published