Skip to content

Support a subset of handy ES2015 features in Kdu 2.0 templates.

Notifications You must be signed in to change notification settings

kdujs/kdu-template-es2015-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Support a subset of handy ES2015 features in Kdu 2.0 templates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published