Commit 2543d040b148807e436d4ee3023e95f549697546

Authored by Vben
1 parent e12c588c

chore: update pkg

Showing 1 changed file with 2 additions and 1 deletions
build/vite/plugin/html.ts
... ... @@ -7,7 +7,8 @@ import type { ViteEnv } from '../../utils';
7 7  
8 8 import html from 'vite-plugin-html';
9 9  
10   -import pkg from '../../../package.json';
  10 +const pkg = require('../../../package.json');
  11 +// import pkg from '../../../package.json';
11 12 import { GLOB_CONFIG_FILE_NAME } from '../../constant';
12 13  
13 14 export function configHtmlPlugin(env: ViteEnv, isBuild: boolean) {
... ...