From d64ba9cd9c12fe84c6986f924020772d29d7713d Mon Sep 17 00:00:00 2001 From: John Wooten <60260750+JFWooten4@users.noreply.github.com> Date: Sat, 28 Nov 2026 12:46:05 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Fix=20browser=20dictionary=20imp?= =?UTF-8?q?ort?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolve the dehyphenation word list through its explicit JSON file so both unpacked source and bundled viewer builds can load it. Co-authored-by: ChatGPT 6.2 --- src/viewer/selection/dehyphenate-copy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer/selection/dehyphenate-copy.js b/src/viewer/selection/dehyphenate-copy.js index 0467348..281061a 100644 --- a/src/viewer/selection/dehyphenate-copy.js +++ b/src/viewer/selection/dehyphenate-copy.js @@ -1,4 +1,4 @@ -import englishWords from "an-array-of-english-words" with { type: "json" }; +import englishWords from "../../../node_modules/an-array-of-english-words/index.json" with { type: "json" }; let dictionary; // A real compound can also have a closed spelling. Preserve established