update
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
||||
"@typescript-eslint/parser": "^6.15.0",
|
||||
"@vitejs/plugin-vue": "^4.2.3",
|
||||
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
||||
"ant-design-vue": "^3.2.20",
|
||||
"echarts": "^5.4.3",
|
||||
"eslint": "^8.51.0",
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "preserve",
|
||||
"jsxImportSource": "vue",
|
||||
/* Linting */
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
|
||||
+2
-1
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user