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.
1 parent a4fd76a commit d22bf26Copy full SHA for d22bf26
webpack/localization-plugin/src/TypingsGenerator.ts
@@ -81,13 +81,15 @@ export class TypingsGenerator {
81
const locFilePaths: string[] = glob.sync(
82
path.join('**', '*+(.resx|.loc.json)'),
83
{
84
- root: this._options.srcFolder,
85
- absolute: true
+ cwd: this._options.srcFolder,
+ absolute: true,
86
+ nosort: true,
87
+ nodir: true
88
}
89
);
90
91
for (let locFilePath of locFilePaths) {
- locFilePath = path.resolve(locFilePath);
92
+ locFilePath = path.resolve(this._options.srcFolder, locFilePath);
93
94
if (filesToIgnore.has(locFilePath)) {
95
continue;
0 commit comments