fix config
This commit is contained in:
@@ -2,10 +2,10 @@ import { defineConfig } from 'vite'
|
|||||||
import react from '@vitejs/plugin-react'
|
import react from '@vitejs/plugin-react'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
|
||||||
base: '/',
|
|
||||||
define: {
|
define: {
|
||||||
'import.meta.env.VITE_GOOGLE_MAP_API_KEY': JSON.stringify(process.env.VITE_GOOGLE_MAP_API_KEY)
|
'import.meta.env.VITE_GOOGLE_MAP_API_KEY': JSON.stringify(process.env.VITE_GOOGLE_MAP_API_KEY)
|
||||||
}
|
},
|
||||||
//base: '/pkg/atmosphere/',
|
base: '/',
|
||||||
|
//base: '/pkg/atmosphere/',
|
||||||
|
plugins: [react()]
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user