This repository was archived by the owner on Apr 16, 2019. It is now read-only.
refactor for loader patches
- add api to allow patching the YUI instance before the loader
usestatementapp.yui.patchServer(patchFn)for patching the server instanceapp.yui.patchClient(patchFn)for patching the client instanceapp.yui.patch(patchFn, anotherFn)for patching both the client and server instances- all default patches are accesible thru:
require('express-yui/lib/patches/optional-requires')
- add default
logLevelto bewarnby default to avoid
the masive amount of logs from yui core modules.
Important (non-backward compatible) changes:
- [!] Patches for loader to support
templates: []andY.Template.get()are disabled by default. - [!] Patches for loader to support
langBundles: []andY.Intl.get()are disabled by default. - [!] Patches for loader to support
optionalRequires: []is disabled by default.