Skip to content

Commit

Permalink
docs: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Apr 17, 2024
1 parent 2d09c99 commit 12ee27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/CJS/+Page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import { something } from './some/module' // [!code --]
import { something } from './some/module.js' // [!code ++]
```
You can use [this script](https://gist.github.com/brillout/79fd8b21e8893f92334b885ee9fa30ff) to automatically do this.
You can use [this script](https://gist.github.com/brillout/79fd8b21e8893f92334b885ee9fa30ff) to automatically apply this change.
> This is typically only needed for library code (e.g. your monorepo packages used by your application code). For the application code itself, you can use [TypeScript's new `--moduleResolution bundler` option](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#moduleresolution-bundler) instead.
Expand Down

0 comments on commit 12ee27f

Please sign in to comment.