Skip to content

Commit

Permalink
chore(cli): Publish @fern-api/snippets-core (#5348)
Browse files Browse the repository at this point in the history
  • Loading branch information
amckinney authored Dec 5, 2024
1 parent f2e3288 commit ce1ac47
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/snippets/core/build.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
});

Expand All @@ -30,7 +35,10 @@ async function main() {
repository: packageJson.repository,
main: "index.cjs",
types: "index.d.ts",
files: ["index.cjs", "index.d.ts"]
files: ["index.cjs", "index.d.ts"],
dependencies: {
'@redocly/openapi-core': '^1.4.1',
}
},
undefined,
2
Expand Down

0 comments on commit ce1ac47

Please sign in to comment.