Skip to content

Commit a484cf3

Browse files
author
Stuart Reilly
committed
output.path must be absolute
1 parent fcd7874 commit a484cf3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rspack.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { defineConfig } from "@rspack/cli";
22
import rspack from "@rspack/core";
3+
import * as path from "node:path";
34

45
const isProd = process.env["JEKYLL_ENV"] === "production";
56

@@ -34,7 +35,7 @@ export default defineConfig({
3435
],
3536
},
3637
output: {
37-
path: "_site/",
38+
path: path.resolve(__dirname, "_site/"),
3839
filename: "script.js",
3940
scriptType: "module",
4041
},

0 commit comments

Comments
 (0)