fix: ressolve path of babel-preset-vue-app

This commit is contained in:
Pooya Parsa 2018-03-20 01:01:51 +03:30
parent f57096e572
commit 774c8d2923
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ export default class Builder {
if (!options.babelrc && !options.presets) { if (!options.babelrc && !options.presets) {
options.presets = [ options.presets = [
[ [
'babel-preset-vue-app', this.nuxt.resolvePath('babel-preset-vue-app'),
{ {
targets: isServer ? { node: '8.0.0' } : { ie: 9, uglify: true } targets: isServer ? { node: '8.0.0' } : { ie: 9, uglify: true }
} }