Skip to content

Commit b3609d5

Browse files
committed
Replace __dirname in vitest.config.ts
__dirname will be deprecated soon.
1 parent 53cb8ff commit b3609d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default defineConfig({
88
build: {
99
rollupOptions: {
1010
input: {
11-
index: resolve(__dirname, "src/renderer/index.html"),
11+
index: resolve(import.meta.dirname, "src/renderer/index.html"),
1212
},
1313
},
1414
},

0 commit comments

Comments
 (0)