kdu-template-es2015-compiler

1.9.1 • Public • Published

This is an internal package used by kdu-loader and kduify. It processes the raw render functions generated by kdu-template-compiler to:

  1. add support to ES2015 features in template expressions via Buble. (see supported features here).

  2. remove the with block inside render functions to make it strict-mode compliant. This is performed only at build time so that the base template compiler can be extremely small and lightweight.

The buble implementation is built from a fork at https://github.com/khanhduy1407/buble

Readme

Keywords

none

Package Sidebar

Install

npm i kdu-template-es2015-compiler

Weekly Downloads

0

Version

1.9.1

License

MIT

Unpacked Size

516 kB

Total Files

4

Last publish

Collaborators

  • nkduy