Skip to content

Commit 5cf26cb

Browse files
authored
chore: fix bundler
Fixes a bug in rollup that came from a relative path in a dynamic import that didn't start with a dot, something that rollup apparently cannot handle.
1 parent 8086a84 commit 5cf26cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

open-scd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const { getLocale, setLocale } = configureLocalization({
7070
sourceLocale,
7171
targetLocales,
7272
loadLocale: locale =>
73-
import(new URL(`locales/${locale}.js`, import.meta.url).href),
73+
import(new URL(`./locales/${locale}.js`, import.meta.url).href),
7474
});
7575

7676
function describe({ undo, redo, title }: LogEntry) {

0 commit comments

Comments
 (0)