Skip to content

Commit 4701025

Browse files
committed
fix: Remove path import
1 parent bde3d79 commit 4701025

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import path from 'path'
21
import { reactive, Plugin } from 'vue'
32
import { OptionsInterface } from './interfaces/options'
43
import { LanguageInterface } from './interfaces/language'
@@ -10,7 +9,7 @@ import { choose } from './pluralization'
109
* Resolves the lang location, on a Laravel App.
1110
*/
1211
const defaultResolve = (lang: string): Promise<LanguageJsonFileInterface> => {
13-
return import(`..${path.sep}..${path.sep}..${path.sep}..${path.sep}resources${path.sep}lang/${lang}.json`)
12+
return import(`../../../../resources/lang/${lang}.json`)
1413
}
1514

1615
/**

0 commit comments

Comments
 (0)