File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -156,7 +156,7 @@ const config = {
|
156 | 156 |
|
157 | 157 | if (process.env.NODE_ENV === "production") {
|
158 | 158 | const redirectsFile = path.join(import.meta.dirname, "out/_redirects");
|
159 |
| -await fs.mkdir(path.dirname(redirectsFile)); |
| 159 | +await fs.mkdir(path.dirname(redirectsFile), { recursive: true }); |
160 | 160 | await fs.writeFile(
|
161 | 161 | redirectsFile,
|
162 | 162 | redirects
|
|
You can’t perform that action at this time.
0 commit comments