Skip to content

mpd106/metalsmith-browserify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metalsmith-browserify Build Status

A metalsmith plugin to browserify your javascript.

Usage

metalsmith.json

{
  "plugins": {
    "metalsmith-browserify": {
      "files": ["path/to/source"],
      "dest": "path/to/dest"
    }
  }
}

#### Javascript

metalsmith.use(browserify({
  files: ['path/to/source'],
  dest: 'path/to/destination'
}));

Options

  • files: array of source file paths
  • dest: bundle destination path
  • transforms: array of transform instances to be passed through to b.transform
  • excludeOtherSources: if true, remove all js files other than dest from the output (default true)
  • emitSourceMap: if true, append a source map to dest (default false)
  • standalone: if passed a string, exposes resulting module on window

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •