Skip to content

Commit

Permalink
fix: do not swallow vue.config.js errors
Browse files Browse the repository at this point in the history
close #874, close #866
  • Loading branch information
yyx990803 committed Feb 28, 2018
1 parent 64b4515 commit 14a2dc7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/@vue/cli-service/lib/Service.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ module.exports = class Service {
)
fileConfig = null
}
} catch (e) {}
} catch (e) {
error(`Error loading ${chalk.bold('vue.config.js')}:`)
throw e
}

// package.vue
pkgConfig = this.pkg.vue
Expand Down

0 comments on commit 14a2dc7

Please sign in to comment.