⬆️ upgrade dependencies
This commit is contained in:
@@ -7,9 +7,6 @@ import {nodePolyfills} from "vite-plugin-node-polyfills";
|
||||
import Components from 'unplugin-vue-components/vite';
|
||||
import {AntDesignVueResolver} from 'unplugin-vue-components/resolvers';
|
||||
import AutoImport from 'unplugin-auto-import/vite';
|
||||
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
|
||||
import {dirname, resolve} from 'node:path';
|
||||
import {fileURLToPath} from 'node:url';
|
||||
|
||||
export default defineConfig(({mode}: { mode: string }): object => {
|
||||
const env: Record<string, string> = loadEnv(mode, process.cwd());
|
||||
@@ -22,11 +19,6 @@ export default defineConfig(({mode}: { mode: string }): object => {
|
||||
}
|
||||
},
|
||||
plugins: [vue(),
|
||||
VueI18nPlugin({
|
||||
/* options */
|
||||
// locale messages resource pre-compile option
|
||||
include: resolve(dirname(fileURLToPath(import.meta.url)), './src/locales/language/**'),
|
||||
}),
|
||||
Components({
|
||||
dts: true,
|
||||
dirs: ['src/components', 'src/views'],
|
||||
@@ -84,6 +76,7 @@ export default defineConfig(({mode}: { mode: string }): object => {
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
api: "modern-compiler",
|
||||
javascriptEnabled: true,
|
||||
},
|
||||
less: {
|
||||
|
Reference in New Issue
Block a user