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.
2 parents 7ba26af + db0846a commit 5d6bcf5Copy full SHA for 5d6bcf5
Resources/webpack/FosRouting.js
@@ -66,7 +66,7 @@ class FosRouting {
66
const content = await readFile(this.options.target);
67
await rmFile(this.options.target);
68
if (!prevContent || content.compare(prevContent) !== 0) {
69
- await makeDir(path.basename(this.finalTarget), {recursive: true})
+ await makeDir(path.dirname(this.finalTarget), {recursive: true});
70
await writeFile(this.finalTarget, content);
71
prevContent = content;
72
if (comp.modifiedFiles && !comp.modifiedFiles.has(this.finalTarget)) {
0 commit comments