Skip to content
This repository was archived by the owner on Oct 26, 2020. It is now read-only.

dahnielson/metalsmith-parcel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metalsmith-parcel

Travic CI badge 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 parcel-bundler

or use npm

npm install metalsmith-parcel parcel-bundler --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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors