From fd6c3380f628c4de4e313c53152366a4484feeca Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sat, 18 Feb 2023 15:36:08 +0100 Subject: feat: build app not package --- dist/sanity-client.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 dist/sanity-client.js (limited to 'dist/sanity-client.js') diff --git a/dist/sanity-client.js b/dist/sanity-client.js new file mode 100644 index 0000000..4415100 --- /dev/null +++ b/dist/sanity-client.js @@ -0,0 +1,8 @@ +import { env } from "$env/dynamic/private"; +import createSanityClient from "@sanity/client"; +export const sanity = createSanityClient({ + projectId: env.SANITY_STUDIO_API_PROJECT_ID, + dataset: env.SANITY_STUDIO_API_DATASET, + apiVersion: "2022-03-24", + useCdn: true, +}); -- cgit v1.3