This commit is contained in:
zk
2024-10-09 09:21:53 +08:00
parent 216d0be436
commit b525fc08eb
3 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import { resolve } from 'path';
import vueJsx from '@vitejs/plugin-vue-jsx';
import postcssPluginPx2rem from 'postcss-plugin-px2rem';
import resolveExternalsPlugin from 'vite-plugin-resolve-externals';
@@ -29,6 +29,7 @@ export default defineConfig({
resolveExternalsPlugin({
AMap: 'AMap',
}),
vueJsx(),
],
css: {
preprocessorOptions: {