This package has been deprecated

Author message:

this package has been deprecated

documentfragment-loader

0.0.7 • Public • Published

npm

DocumentFragment Loader

Import HTML as DocumentFragment.

Install

npm install --save-dev documentfragment-loader

Usage

// webpack.config.js
{
  test: /\.(html)$/,
  use: ['documentfragment-loader', 'html-loader']
}
<!-- test.html -->
<div>
  Hello world!
</div>
// use in code
import htmlBlock from './test.html';
var block = htmlBlock();

/documentfragment-loader/

    Package Sidebar

    Install

    npm i documentfragment-loader

    Weekly Downloads

    1

    Version

    0.0.7

    License

    MIT

    Unpacked Size

    3.63 kB

    Total Files

    5

    Last publish

    Collaborators

    • gebeto