@ossph/temple-loader
v0.1.7
Published
Webpack support for the Temple markup language.
Downloads
8
Readme
⛩️ Temple Loader
This package is designed for Temple, the reactive web component template engine. See docs for more information.
Webpack support for the Temple markup language.
Install
$ npm -i @ossph/temple-loader
Usage
// webpack.config.js
module.exports = {
entry: './src/app.tml',
output: { filename: 'app.js' },
module: {
rules: [
{
test: /\.tml$/,
use: '@ossph/temple-loader',
exclude: /node_modules/,
}
],
},
resolve: { extensions: ['.tml'] }
};