We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a7e80e commit 568e0a1Copy full SHA for 568e0a1
index.js
@@ -128,7 +128,12 @@ module.exports = (api, options) => {
128
options.publicPath = pluginOptions.customFileProtocol || 'app://./'
129
info('Bundling render process:')
130
// Build the render process with the custom args
131
- await api.service.run('build', vueArgs)
+ try {
132
+ await api.service.run('build', vueArgs)
133
+ } catch (e) {
134
+ error('Vue CLI build failed. Please resolve any issues with your build and try again.')
135
+ process.exit(1)
136
+ }
137
// Copy package.json to output dir
138
const pkg = JSON.parse(
139
fs.readFileSync(api.resolve('./package.json'), 'utf8')
0 commit comments