This is an internal package used by kdu-loader
and kduify
. It processes the raw render functions generated by kdu-template-compiler
to:
-
add support to ES2015 features in template expressions via Buble. (see supported features here).
-
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