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