mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-17 19:26:23 +00:00
30 lines
793 B
JavaScript
30 lines
793 B
JavaScript
const { join } = require('path')
|
|
const commonjs = require('@rollup/plugin-commonjs')
|
|
|
|
module.exports = [
|
|
{
|
|
input: join(__dirname, 'src', 'web-whatsapp', 'index.js'),
|
|
output: {
|
|
file: join(__dirname, 'lib', 'web-whatsapp', 'index.cjs'),
|
|
format: 'cjs',
|
|
},
|
|
plugins: [commonjs()],
|
|
},
|
|
{
|
|
input: join(__dirname, 'src', 'twilio', 'index.js'),
|
|
output: {
|
|
file: join(__dirname, 'lib', 'twilio', 'index.cjs'),
|
|
format: 'cjs',
|
|
},
|
|
plugins: [commonjs()],
|
|
},
|
|
{
|
|
input: join(__dirname, 'src', 'mock', 'index.js'),
|
|
output: {
|
|
file: join(__dirname, 'lib', 'mock', 'index.cjs'),
|
|
format: 'cjs',
|
|
},
|
|
plugins: [commonjs()],
|
|
},
|
|
]
|