aboutsummaryrefslogtreecommitdiff
path: root/ext/js/background
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 22:07:28 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 23:01:14 -0500
commit58ae2ab871591eea82895b1ab2a18753521eab1f (patch)
treea0a26dd8c80f52ca8a1532b3652384cafae33106 /ext/js/background
parent14d12f6ba20b837a04c638b935773f3120e194ff (diff)
Revert "Use import map"
Diffstat (limited to 'ext/js/background')
-rw-r--r--ext/js/background/backend.js2
-rw-r--r--ext/js/background/offscreen.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js
index f1a47e7f..3eefed53 100644
--- a/ext/js/background/backend.js
+++ b/ext/js/background/backend.js
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import * as wanakana from 'wanakana';
+import * as wanakana from '../../lib/wanakana.js';
import {AccessibilityController} from '../accessibility/accessibility-controller.js';
import {AnkiConnect} from '../comm/anki-connect.js';
import {ClipboardMonitor} from '../comm/clipboard-monitor.js';
diff --git a/ext/js/background/offscreen.js b/ext/js/background/offscreen.js
index 8da661ad..4b57514d 100644
--- a/ext/js/background/offscreen.js
+++ b/ext/js/background/offscreen.js
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import * as wanakana from 'wanakana';
+import * as wanakana from '../../lib/wanakana.js';
import {ClipboardReader} from '../comm/clipboard-reader.js';
import {invokeMessageHandler} from '../core.js';
import {ArrayBufferUtil} from '../data/sandbox/array-buffer-util.js';