From eb5f419f7c59c16777c90d228c9cf8b5382e05c0 Mon Sep 17 00:00:00 2001 From: Ben Yap Date: Mon, 3 Jul 2023 21:19:14 +1000 Subject: [PATCH] chore: update README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 94ce047..ce56480 100644 --- a/README.md +++ b/README.md @@ -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