@handledom/in-template-string-loader

A webpack loader that compiles Handledom templates in template strings at build time.
How to use
First, add @handledom/in-template-string-loader
to a webpack config file:
npm install @handledom/in-template-string-loader --save-dev
In the webpack.config.js
file, add this rule:
module.exports = {
module: {
rules: [
{
test: /\.(js|ts)$/,
exclude: /node_modules/,
use: "@handledom/in-template-string-loader"
},
]
}
};
Contribute
With VS Code, our recommanded plugin is:
- TSLint from Microsoft (
ms-vscode.vscode-typescript-tslint-plugin
)