Skip to content

Commit

Permalink
chore: 移除meKeepAlive 需要的define常量 (从vue自动获取)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Jan 6, 2023
1 parent 342ff32 commit b5ee3ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 2 additions & 0 deletions types/auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ export {};
declare global {
const EffectScope: typeof import('vue')['EffectScope'];
const ElLoading: typeof import('element-plus/es')['ElLoading'];
const ElMessage: typeof import('element-plus/es')['ElMessage'];
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'];
const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate'];
const asyncComputed: typeof import('@vueuse/core')['asyncComputed'];
const autoResetRef: typeof import('@vueuse/core')['autoResetRef'];
Expand Down
9 changes: 0 additions & 9 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ export default async (configEnv: ConfigEnv): Promise<UserConfigExport> => {
],
extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'],
},
/* eslint-disable */
define: {
// __SSR__: `true`,
// __DEV__: mode === 'development' ? `true` : `false`,
// __COMPAT__: `false`,
// __FEATURE_SUSPENSE__: `true`,
// __FEATURE_PROD_DEVTOOLS__: `false`,
},
/* eslint-disable */
build: {
rollupOptions: {
output: {
Expand Down

0 comments on commit b5ee3ea

Please sign in to comment.