From 526eee98106082b4f5b285112c854c9a2085fc7e Mon Sep 17 00:00:00 2001 From: Alex McKinney Date: Thu, 5 Dec 2024 13:36:30 -0500 Subject: [PATCH] chore(cli): Publish @fern-api/snippets-core --- packages/snippets/core/build.cjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/snippets/core/build.cjs b/packages/snippets/core/build.cjs index 4eca79023bd..00c29a8a8bf 100644 --- a/packages/snippets/core/build.cjs +++ b/packages/snippets/core/build.cjs @@ -13,6 +13,11 @@ async function main() { minify: true, dts: true, outDir: 'dist', + external: [ + // Exclude the optional dependencies that aren't supported in the browser. + 'prettier', + '@redocly/openapi-core' + ], tsconfig: "./build.tsconfig.json" });