We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
path.sep
langPath
1 parent 2d5b10a commit 86e1e6eCopy full SHA for 86e1e6e
src/mix.ts
@@ -27,7 +27,7 @@ mix.extend(
27
context: any
28
29
register(langPath: string = 'lang'): void {
30
- this.langPath = this.context.paths.rootPath + path.sep + langPath
+ this.langPath = this.context.paths.rootPath + path.sep + langPath + path.sep
31
this.frameworkLangPath =
32
this.context.paths.rootPath +
33
path.sep +
@@ -51,7 +51,10 @@ mix.extend(
51
52
config.plugins.push(
53
new BeforeBuildPlugin(() => {
54
- files = generateFiles(this.langPath, [...parseAll(this.frameworkLangPath), ...parseAll(this.langPath)])
+ files = generateFiles(this.langPath, [
55
+ ...parseAll(this.frameworkLangPath),
56
+ ...parseAll(this.langPath)
57
+ ])
58
})
59
)
60
0 commit comments