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.

Dependents (1)

Package Sidebar

Install

npm i metalsmith-inline-source

Weekly Downloads

123

Version

1.0.6

License

MIT

Last publish

Collaborators

  • alexnewman