mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 05:09:12 +03:00
ATTEMPT
This commit is contained in:
1 parent
149aa5cac2
commit
f7d15810bc
1 file changed
+10
-4
@@ -1,10 +1,16 @@
|
||||
import { resolve } from 'node:path'
|
||||
import { dirname, resolve } from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url))
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@studio-data': resolve(__dirname, '../../apps/studio/data'),
|
||||
},
|
||||
alias: [
|
||||
{
|
||||
find: /^@studio-data\/(.*)/,
|
||||
replacement: resolve(__dirname, '../../apps/studio/data/$1'),
|
||||
},
|
||||
],
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user