fix: do not swallow vue.config.js errors

close #874, close #866
This commit is contained in:
Evan You
2018-02-28 18:15:31 -05:00
parent 64b4515731
commit 14a2dc7259
+4 -1
View File
@@ -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