mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 04:29:16 +00:00
fix rollup
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user