plugin.js 419 B

123456789101112131415161718192021222324
  1. 'use strict';
  2. const path = require('path');
  3. // add you build-in plugin here, example:
  4. // exports.nunjucks = {
  5. // enable: true,
  6. // package: 'egg-view-nunjucks',
  7. // };
  8. exports.multiTenancy = {
  9. enable: false,
  10. path: path.join(__dirname, '../lib/plugin/egg-multi-tenancy'),
  11. };
  12. exports.mongoose = {
  13. enable: true,
  14. package: 'egg-mongoose',
  15. };
  16. exports.validate = {
  17. enable: true,
  18. package: 'egg-validate',
  19. };