update 优化 启动警告 规范写法
This commit is contained in:
8
pnpm-lock.yaml
generated
8
pnpm-lock.yaml
generated
@@ -87,9 +87,6 @@ importers:
|
|||||||
specifier: 4.21.9
|
specifier: 4.21.9
|
||||||
version: 4.21.9
|
version: 4.21.9
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@types/crypto-js':
|
|
||||||
specifier: 4.2.2
|
|
||||||
version: 4.2.2
|
|
||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^26.1.1
|
specifier: ^26.1.1
|
||||||
version: 26.1.1
|
version: 26.1.1
|
||||||
@@ -921,9 +918,6 @@ packages:
|
|||||||
'@types/chai@5.2.3':
|
'@types/chai@5.2.3':
|
||||||
resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}
|
resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}
|
||||||
|
|
||||||
'@types/crypto-js@4.2.2':
|
|
||||||
resolution: {integrity: sha512-sDOLlVbHhXpAUAL0YHDUUwDZf3iN4Bwi4W6a0W0b+QcAezUbRtH4FVb+9J4h+XFPW7l/gQ9F8qC7P+Ec4k8QVQ==}
|
|
||||||
|
|
||||||
'@types/deep-eql@4.0.2':
|
'@types/deep-eql@4.0.2':
|
||||||
resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==}
|
resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==}
|
||||||
|
|
||||||
@@ -3077,8 +3071,6 @@ snapshots:
|
|||||||
'@types/deep-eql': 4.0.2
|
'@types/deep-eql': 4.0.2
|
||||||
assertion-error: 2.0.1
|
assertion-error: 2.0.1
|
||||||
|
|
||||||
'@types/crypto-js@4.2.2': {}
|
|
||||||
|
|
||||||
'@types/deep-eql@4.0.2': {}
|
'@types/deep-eql@4.0.2': {}
|
||||||
|
|
||||||
'@types/estree@1.0.9': {}
|
'@types/estree@1.0.9': {}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { defineConfig, loadEnv } from 'vite';
|
import { defineConfig, loadEnv } from 'vite';
|
||||||
import createPlugins from './vite/plugins';
|
import createPlugins from './vite/plugins/index.js';
|
||||||
import autoprefixer from 'autoprefixer'; // css自动添加兼容性前缀
|
import autoprefixer from 'autoprefixer'; // css自动添加兼容性前缀
|
||||||
|
|
||||||
export default defineConfig(({ mode, command }) => {
|
export default defineConfig(({ mode, command }) => {
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
|
|
||||||
import createUnoCss from './unocss';
|
import createUnoCss from './unocss.js';
|
||||||
import createAutoImport from './auto-import';
|
import createAutoImport from './auto-import.js';
|
||||||
import createComponents from './components';
|
import createComponents from './components.js';
|
||||||
import createSvgIconsPlugin from './svg-icon';
|
import createSvgIconsPlugin from './svg-icon.js';
|
||||||
import createCompression from './compression';
|
import createCompression from './compression.js';
|
||||||
import createSetupExtend from './setup-extend';
|
import createSetupExtend from './setup-extend.js';
|
||||||
import { viteCheckTransitionPlugin } from './check-transition';
|
import { viteCheckTransitionPlugin } from './check-transition.js';
|
||||||
|
|
||||||
export default (viteEnv: any, isBuild = false): [] => {
|
export default (viteEnv: any, isBuild = false): [] => {
|
||||||
const vitePlugins: any = [];
|
const vitePlugins: any = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user