Ghost/core/server/web/shared/index.js
Katharina Irrgang 213474835b Refactored how we require shared middlewares from web/ (#9893)
refs #9866

- use package notation
- get rid of x requires for middlewares
- improved readability
- do not refactor web/api/v0.1
2018-09-21 16:17:11 +05:30

10 lines
154 B
JavaScript

module.exports = {
get middlewares() {
return require('./middlewares');
},
get utils() {
return require('./utils');
}
};