astroboy
Version:
Astroboy(阿童木)is a Nodejs SFB(Separation of Front and Back ends) framework, built on koa2.
29 lines • 804 B
JavaScript
;
const path = require("path");
/**
* 默认插件配置文件
*/
const defaultPluginConfig = {
'astroboy-body': {
enable: true,
path: path.resolve(__dirname, '../plugins/astroboy-body'),
},
'astroboy-router': {
enable: true,
path: path.resolve(__dirname, '../plugins/astroboy-router'),
},
'astroboy-security': {
enable: true,
path: path.resolve(__dirname, '../plugins/astroboy-security'),
},
'astroboy-static': {
enable: true,
path: path.resolve(__dirname, '../plugins/astroboy-static'),
},
'astroboy-view': {
enable: true,
path: path.resolve(__dirname, '../plugins/astroboy-view'),
},
};
module.exports = defaultPluginConfig;
//# sourceMappingURL=plugin.default.js.map