Skip to content

Commit

Permalink
Remove "defineConfig" (seems to be optional)
Browse files Browse the repository at this point in the history
  • Loading branch information
olibre committed Dec 6, 2023
1 parent f9075a0 commit 11f3eb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createHtmlPlugin } from 'vite-plugin-html'
import { defineConfig, loadEnv } from 'vite'
import { loadEnv } from 'vite'
import Components from 'unplugin-vue-components/vite'
import Icons from 'unplugin-icons/vite'
import IconsResolver from 'unplugin-icons/resolver'
Expand All @@ -8,7 +8,7 @@ import typescript2 from "rollup-plugin-typescript2"
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig(({ command, mode }) => {
export default (({ command, mode }) => {
// Load env file based on `mode` https://vitejs.dev/config/#environment-variables
const env = loadEnv(mode, process.cwd(), '')

Expand Down

0 comments on commit 11f3eb8

Please sign in to comment.