mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 20:10:24 +08:00
build: fix turbosnap rootDir
This commit is contained in:
@@ -43,7 +43,9 @@ export default {
|
|||||||
root: fileURLToPath(new URL('../../../', import.meta.url)),
|
root: fileURLToPath(new URL('../../../', import.meta.url)),
|
||||||
}),
|
}),
|
||||||
configType === 'PRODUCTION'
|
configType === 'PRODUCTION'
|
||||||
? turbosnap({ rootDir: config.root ?? process.cwd() })
|
? turbosnap({
|
||||||
|
rootDir: fileURLToPath(new URL('../../../', import.meta.url)),
|
||||||
|
})
|
||||||
: null,
|
: null,
|
||||||
],
|
],
|
||||||
define: {
|
define: {
|
||||||
|
|||||||
Reference in New Issue
Block a user