Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metalsmith-congregate

Bring multiple separate files to one location.

CLI Usage

metalsmith-congregate has not yet been tested with Metalsmith's CLI configuration

Javascript Usage

metalsmith-congregate is based off of metalsmith-assets, and thus uses similarly-named options.

var congregate = require('metalsmith-congregate');

metalsmith.use(congregate({
  source: [ // an array of file paths relative to the working directory
    "./node_modules/jquery/dist/jquery.js", 
    "./node_modules/bootstrap/dist/js/bootstrap.js"
  ],
  destination: './assets' // relative to the build directory
}));

License

MIT

About

Take files from subdirectories and consolidate them into one path and/or file.

Resources

Stars

3 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages