Webpack support for the Ink markup language.
npm install @stackpress/ink-loaderThis package is designed for Ink,
the reactive web component template engine. See docs
for more information.
Webpack support for the Ink markup language.
``bash`
$ npm -i @stackpress/ink-loader
`js``
// 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'] }
};