File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/@vue/cli-service/lib/commands Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11const {
22 info,
33 hasProjectYarn,
4- hasPnpm3OrLater ,
4+ hasProjectPnpm ,
55 openBrowser,
66 IpcMessenger
77} = require ( '@vue/cli-shared-utils' )
@@ -235,7 +235,7 @@ module.exports = (api, options) => {
235235 isFirstCompile = false
236236
237237 if ( ! isProduction ) {
238- const buildCommand = hasProjectYarn ( api . getCwd ( ) ) ? `yarn build` : hasPnpm3OrLater ( ) ? `pnpm run build` : `npm run build`
238+ const buildCommand = hasProjectYarn ( api . getCwd ( ) ) ? `yarn build` : hasProjectPnpm ( ) ? `pnpm run build` : `npm run build`
239239 console . log ( ` Note that the development build is not optimized.` )
240240 console . log ( ` To create a production build, run ${ chalk . cyan ( buildCommand ) } .` )
241241 } else {
You can’t perform that action at this time.
0 commit comments