coala-dot-loader

0.0.3 • Public • Published

dot loader for webpack

Usage

Documentation: Using loaders

var template = require("coala-dot!./file.html");
// => returns file.html compiled as template function

Recommended config

module.exports = {
  module: {
    loaders: [
      { test: /\.html$/, loader: "coala-dot-loader" }
    ]
  }
};

Readme

Keywords

Package Sidebar

Install

npm i coala-dot-loader

Weekly Downloads

0

Version

0.0.3

License

ISC

Last publish

Collaborators

  • cheft