fix rollup

This commit is contained in:
Leifer Mendez
2022-11-14 19:44:58 +01:00
parent 878840fc06
commit 9178bc083e
8 changed files with 45 additions and 33 deletions

View File

@@ -20,9 +20,19 @@ const createFlow = (args) => {
return new FlowClass(args)
}
/**
* Crear instancia de clase Provider
* @param {*} args
* @returns
*/
const createProvider = (args) => {
return new FlowClass(args)
}
module.exports = {
createBot,
createFlow,
createProvider,
addKeyword,
addAnswer,
ProviderClass,

View File

@@ -5,7 +5,7 @@ const { join } = require('path')
const PATH = join(__dirname, 'lib', 'bundle.bot.cjs')
module.exports = {
input: 'index.js',
input: join(__dirname, 'index.js'),
output: {
file: PATH,
format: 'cjs',