Skip to content

Commit 565a218

Browse files
committed
fix: Remove default loading on resolve
1 parent 7cf7428 commit 565a218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const DEFAULT_LANG: string = document.documentElement.lang || 'en'
1313
*/
1414
let options: OptionsInterface = {
1515
lang: DEFAULT_LANG,
16-
resolve: (lang: string) => import(`../lang/${lang}.json`)
16+
resolve: (lang: string) => new Promise(resolve => resolve({ "default": {} }))
1717
}
1818

1919
/**

0 commit comments

Comments
 (0)