v1.0.7 (fixes #17)
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@ import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
import path from 'path'
|
||||
import { version } from './package.json'
|
||||
import { version } from './package.json' with { type: 'json' }
|
||||
|
||||
export default defineConfig({
|
||||
base: './',
|
||||
@@ -13,7 +13,7 @@ export default defineConfig({
|
||||
plugins: [react(), tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src'),
|
||||
'@': path.resolve(import.meta.dirname, './src'),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
|
||||
Reference in New Issue
Block a user