Embed build fixes

This commit is contained in:
zomars
2022-06-05 13:55:58 -06:00
parent 9866e12a84
commit 4efc2914af
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"scripts": {
"embed-dev": "yarn workspace @calcom/embed-core dev",
"embed-web-start": "yarn workspace @calcom/web start",
"__build": "yarn tailwind && vite build && yarn tsc --emitDeclarationOnly --declarationDir dist && cp -r ../../../apps/web/public/embed ./dist/",
"__build": "yarn tailwind && vite build && tsc --emitDeclarationOnly --declarationDir dist && cp -r ../../../apps/web/public/embed ./dist/",
"__dev": "yarn tailwind && vite build --mode development",
"build": "NEXT_PUBLIC_EMBED_FINGER_PRINT=$(git rev-parse --short HEAD) yarn __build",
"build-preview": "PREVIEW_BUILD=1 yarn __build ",
+1 -1
View File
@@ -5,7 +5,7 @@
"scripts": {
"dev": "vite --port=3101 --open",
"tsc": "tsc",
"build": "vite build && yarn tsc --emitDeclarationOnly --declarationDir dist",
"build": "vite build && tsc --emitDeclarationOnly --declarationDir dist",
"preview": "vite preview",
"prepare": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build",
"type-check": "tsc --pretty --noEmit",
+1 -1
View File
@@ -5,7 +5,7 @@
"module": "./dist/snippet.es.js",
"description": "Vanilla JS embed snippet that is responsible to fetch @calcom/embed-core and thus show Cal Link as an embed on a page.",
"scripts": {
"build": "vite build && yarn tsc --emitDeclarationOnly --declarationDir dist",
"build": "vite build && tsc --emitDeclarationOnly --declarationDir dist",
"type-check": "tsc --pretty --noEmit",
"lint": "eslint --ext .ts,.js src",
"prepare": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build"