From 389c7be1898e9ba7324b03c2953e5a284aa667af Mon Sep 17 00:00:00 2001 From: Zoltan Rakottyai Date: Sat, 24 Aug 2024 11:01:14 +0200 Subject: [PATCH] fix: add missing assert flag to support importing JSON modules in ESM --- src/accentFolding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accentFolding.js b/src/accentFolding.js index df772da..18f0eaa 100644 --- a/src/accentFolding.js +++ b/src/accentFolding.js @@ -1,4 +1,4 @@ -import defaultAccentMap from './accentMap.json'; +import defaultAccentMap from './accentMap.json' assert { type: 'json' }; class AccentFolding { #cache;