Skip to content

Commit 477665f

Browse files
authored
fix: exclude web wrappers from dist (#15572)
1 parent 2fbb695 commit 477665f

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed
-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
export { BookerWebWrapper } from "./BookerWebWrapper";
2-
export { BookerPlatformWrapper } from "./BookerPlatformWrapper";

packages/platform/atoms/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export { CalProvider } from "./cal-provider";
22
export { GcalConnect } from "./connect/google/GcalConnect";
33
export { AvailabilitySettingsPlatformWrapper as AvailabilitySettings } from "./availability";
4-
export { BookerPlatformWrapper as Booker } from "./booker";
4+
export { BookerPlatformWrapper as Booker } from "./booker/BookerPlatformWrapper";
55
export { useIsPlatform } from "./hooks/useIsPlatform";
66
export { useAtomsContext } from "./hooks/useAtomsContext";
77
export { useConnectedCalendars } from "./hooks/useConnectedCalendars";

packages/platform/atoms/tsconfig.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,15 @@
4242
"../../trpc",
4343
"../../app-store"
4444
],
45-
"exclude": ["dist", "build", "node_modules", "**/*WebWrapper.tsx"]
45+
"exclude": [
46+
"dist",
47+
"build",
48+
"node_modules",
49+
"**/*WebWrapper.tsx",
50+
"**/*.docs.mdx",
51+
"**/*.stories.tsx",
52+
"monorepo.ts",
53+
"booker/export.ts",
54+
"booker/index.ts"
55+
]
4656
}

0 commit comments

Comments
 (0)