inline-html-brunch

1.0.1 • Public • Published

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.

/inline-html-brunch/

    Package Sidebar

    Install

    npm i inline-html-brunch

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • cepinos