mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 21:59:16 +03:00
fix imports
This commit is contained in:
1 parent
38b2fa9dc5
commit
f01edb403e
1 file changed
+5
-5
@@ -1,8 +1,8 @@
|
||||
import react from '@vitejs/plugin-react'
|
||||
import path, { resolve } from 'path'
|
||||
import { fileURLToPath } from 'url'
|
||||
import tsconfigPaths from 'vite-tsconfig-paths'
|
||||
import { resolve } from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import tsconfigPaths from 'vite-tsconfig-paths'
|
||||
|
||||
// Some tools like Vitest VSCode extensions, have trouble with resolving relative paths,
|
||||
// as they use the directory of the test file as `cwd`, which makes them believe that
|
||||
@@ -18,7 +18,7 @@ export default defineConfig({
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@ui': path.resolve(__dirname, './../../packages/ui/src'),
|
||||
'@ui': resolve(__dirname, './../../packages/ui/src'),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
|
||||
Reference in new issue
Block a user