1.0.1 • Published 9 years ago
inline-html-brunch v1.0.1
inline-html-brunch
Brunch plugin to read your HTML files as strings in JS.
Install
npm install inline-html-brunch --save-devUsage
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.