Skip to content

Commit

Permalink
docs(getting-started): $NODE_OPTIONS for ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jjangga0214 committed Nov 3, 2023
1 parent aaab470 commit f0a1c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/pages/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ my-calculator
└── test # contents are omitted for brevity
```


<Callout>
**Typescript Support** <br/>
If you want to write the config in typescript, name it *`haetae.config.ts`*.
Then install [`ts-node`](https://www.npmjs.com/package/ts-node),
which is an optional `peerDependencies` of `haetae{:ts}` (from `@haetae/core{:ts}`).
Finally, provide an environment variable `NODE_OPTIONS='--loader=ts-node/esm'`.
</Callout>

<Callout>
Expand Down

1 comment on commit f0a1c74

@vercel
Copy link

@vercel vercel bot commented on f0a1c74 Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

haetae – ./

haetae-jjangga0214.vercel.app
haetae-mu.vercel.app
haetae-git-main-jjangga0214.vercel.app

Please sign in to comment.