mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 20:19:15 +00:00
working pkgs
This commit is contained in:
@@ -9,5 +9,8 @@
|
||||
"cross-spawn": "^7.0.3",
|
||||
"detect-package-manager": "^2.0.1",
|
||||
"kleur": "^4.1.5"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"./lib/cli/bundle.cli.cjs"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
const commonjs = require('@rollup/plugin-commonjs')
|
||||
const { nodeResolve } = require('@rollup/plugin-node-resolve')
|
||||
const { join } = require('path')
|
||||
|
||||
const PATH = join(__dirname, 'lib', 'cli', 'bundle.cli.cjs')
|
||||
|
||||
module.exports = {
|
||||
input: 'index.js',
|
||||
output: {
|
||||
file: 'lib/cli/bundle.cli.cjs',
|
||||
file: PATH,
|
||||
format: 'cjs',
|
||||
},
|
||||
plugins: [commonjs()],
|
||||
plugins: [commonjs(), nodeResolve()],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user