We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
Learn more about funding links in repositories.
Report abuse
1 parent 51efb99 commit 14b2c6eCopy full SHA for 14b2c6e
packages/@vue/cli-service/lib/commands/build/index.js
@@ -58,7 +58,7 @@ module.exports = (api, options) => {
58
}), api, options)
59
// spawn sub-process of self for modern build
60
const { execa } = require('@vue/cli-shared-utils')
61
- const cliBin = api.resolve('node_modules/.bin/vue-cli-service')
+ const cliBin = require('path').resolve(__dirname, '../../../bin/vue-cli-service.js')
62
await execa(cliBin, ['build', ...rawArgs], {
63
stdio: 'inherit',
64
env: {
0 commit comments