mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-18 11:39:15 +00:00
22 lines
553 B
JavaScript
22 lines
553 B
JavaScript
const commonjs = require('@rollup/plugin-commonjs')
|
|
const { join } = require('path')
|
|
|
|
module.exports = [
|
|
{
|
|
input: join(__dirname, 'src', 'mock', 'index.js'),
|
|
output: {
|
|
file: join(__dirname, 'lib', 'mock', 'index.cjs'),
|
|
format: 'cjs',
|
|
},
|
|
plugins: [commonjs()],
|
|
},
|
|
{
|
|
input: join(__dirname, 'src', 'mongo', 'index.js'),
|
|
output: {
|
|
file: join(__dirname, 'lib', 'mongo', 'index.cjs'),
|
|
format: 'cjs',
|
|
},
|
|
plugins: [commonjs()],
|
|
},
|
|
]
|