metalsmith-inline-source
v1.0.6
Published
A metalsmith plugin tied with inline-source to inline static assets, like SVG, JS and CSS
Downloads
215
Maintainers
Readme
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.