Skip to content

Commit

Permalink
fix(app-vite): Correctly resolve Vite version (#13609)
Browse files Browse the repository at this point in the history
getPackageJson() is a helper for resolving host packages, but we should
resolve Vite as part of this project to avoid some problems.
  • Loading branch information
yusufkandemir committed Jul 10, 2022
1 parent b2a6e81 commit 294dbee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-vite/lib/helpers/banner-global.js
Expand Up @@ -3,7 +3,7 @@ const { green, gray, underline } = require('kolorist')
const getPackageJson = require('./get-package-json')
const quasarVersion = getPackageJson('quasar').version
const cliAppVersion = require('../../package.json').version
const viteVersion = getPackageJson('vite').version
const viteVersion = require('vite/package.json').version

function getPackager (argv, cmd) {
if (argv.ide || (argv.mode === 'capacitor' && cmd === 'dev')) {
Expand Down

0 comments on commit 294dbee

Please sign in to comment.