Node Promiscuous Modules
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

metalsmith-parcel

1.1.1 • Public • Published

metalsmith-parcel

Greenkeeper badge Standard JS badge

A plugin for Metalsmith to use Parcel for bundling of assets.

Install

You can either install by running yarn (recommended)

yarn add metalsmith-parcel

or use npm

npm install metalsmith-parcel --save

Usage

var parcel = require('metalsmith-parcel')
 
Metalsmith(__dirname)
  .use(parcel(file, options))
  .build()

Options

See the parcel api documentation for details. Watch default to false in this plugin as it is not suitable for the Metalsmith build process.

Example

Metalsmith(__dirname)
  .use(parcel('src/main.js', {
      watch: false
  }))
  .build()

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

MIT License, see LICENSE for details.

install

npm i metalsmith-parcel

Downloadsweekly downloads

48

version

1.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability