@handledom/in-template-string-loader

0.1.9 • Public • Published

@handledom/in-template-string-loader

Build Status npm GitHub

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:

  • ESLint - dbaeumer.vscode-eslint
  • Prettier - esbenp.prettier-vscode

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.9
    2
    • latest

Version History

Package Sidebar

Install

npm i @handledom/in-template-string-loader

Weekly Downloads

2

Version

0.1.9

License

CC0-1.0

Unpacked Size

12.3 kB

Total Files

6

Last publish

Collaborators

  • paleo