Package Exports
- kdu-template-compiler
- kdu-template-compiler/browser.js
- kdu-template-compiler/index.js
- kdu-template-compiler/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kdu-template-compiler) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
kdu-template-compiler
This package is auto-generated. For pull requests please see src/platforms/web/entry-compiler.js.
This package can be used to pre-compile Kdu 2.0 templates into render functions to avoid runtime-compilation overhead and CSP restrictions. You will only need it if you are writing build tools with very specific needs. In most cases you should be using kdu-loader
or kduify
instead, both of which use this package internally.
Installation
npm install kdu-template-compiler
const compiler = require('kdu-template-compiler')