💚 Fix embeds build and create-block CLI
This commit is contained in:
@ -26,6 +26,7 @@
|
||||
"@rollup/plugin-babel": "6.0.3",
|
||||
"@rollup/plugin-node-resolve": "15.1.0",
|
||||
"@rollup/plugin-terser": "0.4.3",
|
||||
"@rollup/plugin-typescript": "11.1.2",
|
||||
"@typebot.io/bot-engine": "workspace:*",
|
||||
"@typebot.io/env": "workspace:*",
|
||||
"@typebot.io/lib": "workspace:*",
|
||||
|
@ -4,6 +4,7 @@ import { babel } from '@rollup/plugin-babel'
|
||||
import postcss from 'rollup-plugin-postcss'
|
||||
import autoprefixer from 'autoprefixer'
|
||||
import tailwindcss from 'tailwindcss'
|
||||
import typescript from '@rollup/plugin-typescript'
|
||||
import { typescriptPaths } from 'rollup-plugin-typescript-paths'
|
||||
import fs from 'fs'
|
||||
|
||||
@ -28,6 +29,7 @@ const indexConfig = {
|
||||
extensions,
|
||||
}),
|
||||
typescriptPaths({ preserveExtensions: true }),
|
||||
typescript(),
|
||||
postcss({
|
||||
plugins: [autoprefixer(), tailwindcss()],
|
||||
extract: false,
|
||||
|
@ -35,7 +35,8 @@
|
||||
"rollup-plugin-typescript-paths": "1.4.0",
|
||||
"tslib": "2.6.0",
|
||||
"tsx": "3.12.7",
|
||||
"typescript": "5.3.2"
|
||||
"typescript": "5.3.2",
|
||||
"@rollup/plugin-typescript": "11.1.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"next": "12.x || 13.x || 14.x",
|
||||
|
@ -2,6 +2,7 @@ import resolve from '@rollup/plugin-node-resolve'
|
||||
import terser from '@rollup/plugin-terser'
|
||||
import { babel } from '@rollup/plugin-babel'
|
||||
import { typescriptPaths } from 'rollup-plugin-typescript-paths'
|
||||
import typescript from '@rollup/plugin-typescript'
|
||||
import fs from 'fs'
|
||||
|
||||
const extensions = ['.ts', '.tsx']
|
||||
@ -26,6 +27,7 @@ const indexConfig = {
|
||||
extensions,
|
||||
}),
|
||||
typescriptPaths({ preserveExtensions: true }),
|
||||
typescript(),
|
||||
terser({ format: { preamble } }),
|
||||
],
|
||||
}
|
||||
|
@ -39,7 +39,8 @@
|
||||
"rollup-plugin-typescript-paths": "1.4.0",
|
||||
"tslib": "2.6.0",
|
||||
"tsx": "3.12.7",
|
||||
"typescript": "5.3.2"
|
||||
"typescript": "5.3.2",
|
||||
"@rollup/plugin-typescript": "11.1.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
|
||||
|
@ -2,6 +2,7 @@ import resolve from '@rollup/plugin-node-resolve'
|
||||
import terser from '@rollup/plugin-terser'
|
||||
import { babel } from '@rollup/plugin-babel'
|
||||
import { typescriptPaths } from 'rollup-plugin-typescript-paths'
|
||||
import typescript from '@rollup/plugin-typescript'
|
||||
import fs from 'fs'
|
||||
|
||||
const extensions = ['.ts', '.tsx']
|
||||
@ -26,6 +27,7 @@ const indexConfig = {
|
||||
extensions,
|
||||
}),
|
||||
typescriptPaths({ preserveExtensions: true }),
|
||||
typescript(),
|
||||
terser({ format: { preamble } }),
|
||||
],
|
||||
}
|
||||
|
Reference in New Issue
Block a user