Skip to content

Commit

Permalink
chore: fix bundler
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
danyill authored Dec 13, 2024
1 parent 8086a84 commit 5cf26cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open-scd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const { getLocale, setLocale } = configureLocalization({
sourceLocale,
targetLocales,
loadLocale: locale =>
import(new URL(`locales/${locale}.js`, import.meta.url).href),
import(new URL(`./locales/${locale}.js`, import.meta.url).href),
});

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

0 comments on commit 5cf26cb

Please sign in to comment.