dex-template-webpack-plugin
v1.0.4
Published
Webpack plugin for packaging Dex templates
Maintainers
Readme
Dex Template Webpack Plugin
This webpack plugin takes the index.html generated by webpack and adds all bindings defined in the metadata file. Then it compress all files in /dist into a .dextpl and places it inside /builds.
Installing
npm i --save-dev dex-template-webpack-pluginUsage
webpack.config.js
var DexTemplatePlugin = require('dex-template-webpack-plugin');
module.exports = {
configureWebpack: {
plugins: [new DexTemplatePlugin()]
}
}Dex Template and metadata.json documentation
Author
Demián Levy Polat
