Closed blond closed 7 years ago
We can use node-eval module instead of enb-async-require and enb-require-or-eval.
enb-async-require
enb-require-or-eval
It is possible to decrease memory consumption: require cache is not used.
After the changes we can not substitute techs in tests: https://github.com/enb/enb-bem-techs/blob/master/test/utils/techs.js.
Agreed with @Yeti-or and @blond that we should integrate node-eval into enb-require-or-eval.
Fixed in https://github.com/enb/enb-bem-techs/pull/243
We can use node-eval module instead of
enb-async-require
andenb-require-or-eval
.It is possible to decrease memory consumption: require cache is not used.
After the changes we can not substitute techs in tests: https://github.com/enb/enb-bem-techs/blob/master/test/utils/techs.js.