Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Mar 31, 2021
1 parent 6d6e0a1 commit c030567
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import type {
} from 'vue';

declare global {
declare interface __APP_INFO__ {
const __APP_INFO__: {
pkg: {
name: string;
version: string;
dependencies: Recordable<string>;
devDependencies: Recordable<string>;
};
lastBuildTime: string;
}
};
declare interface Window {
// Global vue app instance
__APP__: App<Element>;
Expand Down
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import pkg from './package.json';
import moment from 'moment';

const { dependencies, devDependencies, name, version } = pkg;
const APP_INFO = {
const __APP_INFO__ = {
pkg: { dependencies, devDependencies, name, version },
lastBuildTime: moment().format('YYYY-MM-DD HH:mm:ss'),
};
Expand Down Expand Up @@ -67,7 +67,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
__VUE_I18N_FULL_INSTALL__: false,
__INTLIFY_PROD_DEVTOOLS__: false,

__APP_INFO__: JSON.stringify(APP_INFO),
__APP_INFO__: JSON.stringify(__APP_INFO__),
},
css: {
preprocessorOptions: {
Expand Down

0 comments on commit c030567

Please sign in to comment.