vinyl-modernizr
Create a vinyl object of a Modernizr JavaScript file
const vinylModernizr = ; const file = ;filepath; //=> '/path/to/cwd/modernizr.js'file; // prints '/*!\n * modernizr v3.3.1\n * Build http://modernizr.com/download? ...'
Installation
npm install vinyl-modernizr
API
const vinylModernizr = ;
vinylModernizr([options])
options: Object
Return: Object
(Vinyl
instance)
It returns a vinyl object that contains modernizr-stream as its contents
property.
Options
All options are passed to modernizr-stream and vinyl constructor. Note that path
option defaults to modernizr.js
right under the current directory.
relative; //=> 'modernizr.js'relative; //=> '../modernizr.js'
License
Copyright (c) 2016 Shinnosuke Watanabe
Licensed under the MIT License.