aboutsummaryrefslogtreecommitdiff
path: root/ext/js/background
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 19:23:17 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 19:23:17 -0500
commitd5b1217df3fe7480fc5f58fe194f5bbf73281094 (patch)
treedc24325097acb461b24415e87666da96f7912aae /ext/js/background
parentb9310603865292749d7303f41b7c2d6b6f286078 (diff)
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 be68ecf4..44f5a42d 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 '../../lib/wanakana.js';
+import * as wanakana from 'wanakana';
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 1b68887b..45345c01 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 '../../lib/wanakana.js';
+import * as wanakana from 'wanakana';
import {ClipboardReader} from '../comm/clipboard-reader.js';
import {invokeMessageHandler} from '../core.js';
import {ArrayBufferUtil} from '../data/sandbox/array-buffer-util.js';