UNPKG

vatsal-whatsapp

Version:

Lightweight WhatsApp Web automation via whatsapp-web.js, QR socket communication, and bulk messaging.

27 lines (25 loc) 609 B
import babel from 'rollup-plugin-babel'; import peerDepsExternal from 'rollup-plugin-peer-deps-external'; import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; export default { input: 'index.js', output: [ { file: 'dist/index.js', format: 'cjs', exports: 'named' }, { file: 'dist/index.es.js', format: 'es', exports: 'named' } ], plugins: [ peerDepsExternal(), resolve(), babel({ exclude: 'node_modules/**', presets: ['@babel/preset-react'] }), commonjs() ] };