createPluginsConfig.js 326 B

123456789101112
  1. const path = require('path')
  2. const createConfig = require('./createConfig')
  3. module.exports = function(settings) {
  4. return createConfig(settings, {
  5. tsconfig: path.resolve(__dirname, '../../plugins/tsconfig.json'),
  6. entry: {
  7. gcal: path.resolve(__dirname, '../../plugins/gcal/main.ts')
  8. },
  9. useExternalCore: true
  10. });
  11. }