Skip to content

Commit

Permalink
Updating guide for ESM (#196)
Browse files Browse the repository at this point in the history
minor content tweaks
  • Loading branch information
benlower authored Jul 19, 2023
1 parent 84baddd commit 2f8a6bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/docs/guides/esm.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ESM

AI.JSX exports both CJS and ESM files. When you `import` or `require` `ai-jsx`, you'll get the file that matches the module system you're using. If you have a problem with this, please let us know.
AI.JSX exports both CJS and ESM files. When you `import` or `require` `ai-jsx`, you'll get the file that matches the module system you're using. If you have a problem with this, please let us know by either [dropping us a line in Discord](https://discord.com/invite/MsKAeKF8kU) or by [opening an issue](https://github.com/fixie-ai/ai-jsx/issues) on GitHub.

## Known Issues

Expand All @@ -16,7 +16,7 @@ However, when you run `tsc`, you don't get an error.
When VS Code and `tsc` give contradictory results, it may mean that VS Code's magic for finding your `tsconfig` isn't working. This can happen if your `tsconfig` is in an unusual place or has an unusual name.
To resolve it, put a `tsconfig.json` somewhere the VS Code will find it – probably the root of your package. If you have a reason that you want your `tsconfig.json` to live elsewhere, you can make your newly-added `tsconfig.json` just a proxy to the real one:
To resolve it, put a `tsconfig.json` somewhere that VS Code will find it – probably the root of your package. If you have a reason that you want your `tsconfig.json` to live elsewhere, you can make your newly-added `tsconfig.json` just a proxy to the real one:
```json
{
Expand Down

3 comments on commit 2f8a6bf

@vercel
Copy link

@vercel vercel bot commented on 2f8a6bf Jul 19, 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:

ai-jsx-nextjs-demo – ./packages/nextjs-demo

ai-jsx-nextjs-demo-git-main-fixie-ai.vercel.app
ai-jsx-nextjs-demo.vercel.app
ai-jsx-nextjs-demo-fixie-ai.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 2f8a6bf Jul 19, 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:

ai-jsx-docs – ./packages/docs

ai-jsx-docs-fixie-ai.vercel.app
docs.ai-jsx.com
ai-jsx-docs.vercel.app
ai-jsx-docs-git-main-fixie-ai.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 2f8a6bf Jul 19, 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:

ai-jsx-tutorial-nextjs – ./packages/tutorial-nextjs

ai-jsx-tutorial-nextjs.vercel.app
ai-jsx-tutorial-nextjs-fixie-ai.vercel.app
ai-jsx-tutorial-nextjs-git-main-fixie-ai.vercel.app

Please sign in to comment.