metalsmith-inline-source

1.0.6 • Public • Published

Metalsmith-Inline-Source

A Metalsmith plugin tied with inline-source to inline static assets like SVG, Javascript and CSS.

Installation

$ npm install metalsmith-inline-source

Usage

Javascript

Pass the inline-source plugin into Metalsmith via the use method:

var inlineSource = require('metalsmith-inline-source');
 
metalsmith.use(inlineSource());

Credit

The inline-source plugin can be found here; this is simply a wrapper for Metalsmith.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    309
    • latest

Version History

Package Sidebar

Install

npm i metalsmith-inline-source

Weekly Downloads

311

Version

1.0.6

License

MIT

Last publish

Collaborators

  • alexnewman