diff options
| author | 2025-01-26 23:29:23 +0800 | |
|---|---|---|
| committer | 2025-01-26 23:29:23 +0800 | |
| commit | a97b7a38f4a652e7b24e101ef34e4f37b8c3094e (patch) | |
| tree | c387ca55aa6977499b03346ab46e63a0f7c09b36 /vite.config.ts | |
| parent | d4d7fac39528b978b742420a3cb4e91cea6f5834 (diff) | |
| parent | cd8aab3a511091ce378ff7ebcaa42bf979f00882 (diff) | |
| download | HydroRollSite-main.tar.gz HydroRollSite-main.zip | |
Refactor: Rewrite Site
Diffstat (limited to 'vite.config.ts')
| -rw-r--r-- | vite.config.ts | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/vite.config.ts b/vite.config.ts deleted file mode 100644 index 1064633..0000000 --- a/vite.config.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Plugins -import vue from '@vitejs/plugin-vue' -import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify' -import ViteFonts from 'unplugin-fonts/vite' - -// Utilities -import { defineConfig } from 'vite' -import { fileURLToPath, URL } from 'node:url' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [ - vue({ - template: { transformAssetUrls } - }), - // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin - vuetify({ - autoImport: true, - styles: { - configFile: 'src/styles/settings.scss', - }, - }), - ViteFonts({ - google: { - families: [{ - name: 'Roboto', - styles: 'wght@100;300;400;500;700;900', - }], - }, - }), - ], - define: { 'process.env': {} }, - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - }, - extensions: [ - '.js', - '.json', - '.jsx', - '.mjs', - '.ts', - '.tsx', - '.vue', - ], - }, - server: { - port: 3000, - }, - optimizeDeps: { - include: ['@kangc/v-md-editor/lib/theme/vuepress.js'], - }, -}) - |
