Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
benyap committed Jul 3, 2023
1 parent 1a6646e commit eb5f419
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ import * as stuff from "~/some/path";
import stuff from "~/some/path";
import { stuff } from "~/some/path.js";
import { stuff as myStuff } from "~/some/path.mjs";
import data from "~/some/data/path.json";
```

_NOTE: When importing JSON files, ensure that you use the `.json` extension. See
issue [#253](https://github.com/benyap/resolve-tspaths/issues/253)._

**ESM dynamic imports**

```ts
Expand Down

0 comments on commit eb5f419

Please sign in to comment.