build: fix turbosnap rootDir
This commit is contained in:
1 parent
7f8dfc17a0
commit
d50fcaa94e
1 file changed
+3
-1
@@ -43,7 +43,9 @@ export default {
|
||||
root: fileURLToPath(new URL('../../../', import.meta.url)),
|
||||
}),
|
||||
configType === 'PRODUCTION'
|
||||
? turbosnap({ rootDir: config.root ?? process.cwd() })
|
||||
? turbosnap({
|
||||
rootDir: fileURLToPath(new URL('../../../', import.meta.url)),
|
||||
})
|
||||
: null,
|
||||
],
|
||||
define: {
|
||||
|
||||
Reference in new issue
Block a user