🐛 Fix embeds crash (importing external modules)

This commit is contained in:
Baptiste Arnaud 2026-03-24 15:16:46 +01:00
parent 2539c0307c
commit 78da6fa4d3
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@typebot.io/js",
"version": "0.9.22",
"version": "0.9.23",
"description": "Javascript library to display typebots on your website",
"license": "FSL-1.1-ALv2",
"type": "module",
@ -74,6 +74,7 @@
"esm"
],
"bundle": true,
"thirdParty": true,
"declaration": true,
"esbuildConfig": "{workspaceRoot}/packages/embeds/js/esbuild.config.cjs"
},

View File

@ -1,6 +1,6 @@
{
"name": "@typebot.io/react",
"version": "0.9.22",
"version": "0.9.23",
"description": "Convenient library to display typebots on your React app",
"license": "FSL-1.1-ALv2",
"type": "module",
@ -36,6 +36,8 @@
"esm"
],
"bundle": true,
"thirdParty": true,
"external": ["react", "react/jsx-runtime"],
"declaration": true
},
"configurations": {