Skip to content

Commit

Permalink
fix(cli): 馃帹 starters
Browse files Browse the repository at this point in the history
  • Loading branch information
leifermendez committed Dec 12, 2022
1 parent acc1d37 commit 87ba43a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/create-bot-whatsapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-bot-whatsapp",
"version": "0.0.35-alpha.0",
"version": "0.0.38-alpha.0",
"description": "",
"main": "./lib/bundle.create-bot-whatsapp.cjs",
"files": [
Expand Down
11 changes: 9 additions & 2 deletions packages/create-bot-whatsapp/rollup-create.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const banner = require('../../config/banner.rollup.json')
const commonjs = require('@rollup/plugin-commonjs')

const copy = require('rollup-plugin-copy')
const { nodeResolve } = require('@rollup/plugin-node-resolve')
const { join } = require('path')

Expand All @@ -13,5 +13,12 @@ module.exports = {
file: PATH,
format: 'cjs',
},
plugins: [commonjs(), nodeResolve()],
plugins: [
copy({
targets: [{ src: 'starters/*', dest: join(__dirname, 'starters') }],
}),
,
commonjs(),
nodeResolve(),
],
}

0 comments on commit 87ba43a

Please sign in to comment.