Skip to content

Commit 2dab1b4

Browse files
docs(internal): update CONTRIBUTING.md to recommend unminified build (#9941)
Update the CLI building documentation to recommend using 'pnpm fern:build:unminified' for local development and debugging. This provides a better developer experience with readable variable names and code structure while still using production environment variables. The minified build ('pnpm fern:build') is still available for those who need it. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Deep Singhvi <[email protected]>
1 parent 60d90eb commit 2dab1b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ The Fern CLI lives in a directory called [cli](./packages/cli/cli/) and the entr
112112

113113
### Building the CLI from source
114114

115-
For testing purposes, you can build a local version of the CLI by running `pnpm fern:build`. This compiles and builds a CLI
116-
that communicates with our production cloud environment.
115+
For local development and debugging, you can build an unminified version of the CLI by running `pnpm fern:build:unminified`. This compiles and builds a CLI that communicates with our production cloud environment but preserves readable code for easier debugging.
116+
117+
If you need a minified production build instead, you can run `pnpm fern:build`.
117118

118119
The CLI is outputted to `packages/cli/cli/dist/prod/cli.cjs`.
119120

0 commit comments

Comments
 (0)