🏗️ Use tsup for bot and typebot-js packages
This commit is contained in:
committed by
Baptiste Arnaud
parent
0b58f4e976
commit
84163c6585
12
packages/bot-engine/tsup.config.js
Normal file
12
packages/bot-engine/tsup.config.js
Normal file
@ -0,0 +1,12 @@
|
||||
import { defineConfig } from 'baptistearno-tsup'
|
||||
|
||||
export default defineConfig((options) => ({
|
||||
entry: ['src/index.ts'],
|
||||
sourcemap: true,
|
||||
minify: !options.watch,
|
||||
dts: true,
|
||||
format: ['esm', 'cjs'],
|
||||
loader: {
|
||||
'.css': 'text',
|
||||
},
|
||||
}))
|
Reference in New Issue
Block a user