@mdfe/dot-loader

1.0.0 • Public • Published

dot loader for webpack

Usage

Documentation: Using loaders

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

Recommended config

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

Then you only need to write: require("./file.dot")

Readme

Keywords

none

Package Sidebar

Install

npm i @mdfe/dot-loader

Weekly Downloads

2

Version

1.0.0

License

none

Last publish

Collaborators

  • anjh00000
  • dingxuepian
  • xiecg
  • peidayu
  • yurichi
  • rocky.qiu