inline-html-brunch
v1.0.1
Published
Brunch plugin to read your HTML files as strings in JS.
Downloads
7
Maintainers
Readme
inline-html-brunch
Brunch plugin to read your HTML files as strings in JS.
Install
npm install inline-html-brunch --save-dev
Usage
define(['./my-html-file'],function(htmlStr){
});
Note that Brunch removes the extension, so don't include the .html
in the require
.
Future
- [ ] Allow for whitelisting and blacklisting folders.