feat: compatible node_modules load logic

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-09-07 12:20:11 +08:00
parent bbf08816ba
commit de18b0f628
3 changed files with 14 additions and 16 deletions

View File

@ -10,6 +10,7 @@
return {
log: log,
info: log,
ex: log,
debug: global.debug ? _proxy('DEBUG') : global.noop,
warn: _proxy('WARN'),
error: _proxy('ERROR')