Skip to content

Commit

Permalink
fix vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
FrenzyExists committed Oct 8, 2024
1 parent 172f16b commit 44dda6d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import { defineConfig, loadEnv } from 'vite'
import Vue from '@vitejs/plugin-vue'
import Pages from 'vite-plugin-pages'
import Markdown from 'vite-plugin-vue-markdown'
Expand All @@ -8,12 +8,16 @@ import WebfontDownload from 'vite-plugin-webfont-dl'
import Layouts from 'vite-plugin-vue-layouts'
import path from 'node:path'
import { resolve } from 'path'
import { env } from 'node:process'


// const env = loadEnv(mode, process.cwd(), '')
// https://vitejs.dev/config/
export default defineConfig({
// define: {
// 'process.env': process.env
// },
define: {
'process.env': process.env,
},

plugins: [
Vue({
include: [/\.vue$/, /\.md$/], // <--
Expand Down

0 comments on commit 44dda6d

Please sign in to comment.