dot loader for webpack Usage Documentation: Using loaders var template = require("coala-dot!./file.html");// => returns file.html compiled as template functionRecommended config module.exports = { module: { loaders: [ { test: /\.html$/, loader: "coala-dot-loader" } ] }};