mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 04:29:16 +00:00
working pkgs
This commit is contained in:
@@ -11,8 +11,7 @@
|
||||
"format:write": "prettier --write .",
|
||||
"lint:check": "eslint .",
|
||||
"lint:fix": "eslint --fix .",
|
||||
"test:core": "node ../../node_modules/uvu/bin.js tests",
|
||||
"build:core": "npm run format:write && npm run lint:fix && npm run io:rollup"
|
||||
"build:core": "yarn run format:write && yarn run lint:fix && yarn run io:rollup"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
||||
@@ -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', 'core', 'bundle.core.cjs')
|
||||
|
||||
module.exports = {
|
||||
input: 'index.js',
|
||||
output: {
|
||||
file: 'lib/core/bundle.core.cjs',
|
||||
file: PATH,
|
||||
format: 'cjs',
|
||||
},
|
||||
plugins: [commonjs()],
|
||||
plugins: [commonjs(), nodeResolve()],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user