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 1
1
const {
2
2
info,
3
3
hasProjectYarn,
4
- hasPnpm3OrLater ,
4
+ hasProjectPnpm ,
5
5
openBrowser,
6
6
IpcMessenger
7
7
} = require ( '@vue/cli-shared-utils' )
@@ -235,7 +235,7 @@ module.exports = (api, options) => {
235
235
isFirstCompile = false
236
236
237
237
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`
239
239
console . log ( ` Note that the development build is not optimized.` )
240
240
console . log ( ` To create a production build, run ${ chalk . cyan ( buildCommand ) } .` )
241
241
} else {
You can’t perform that action at this time.
0 commit comments