mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
fix: ressolve path of babel-preset-vue-app
This commit is contained in:
parent
f57096e572
commit
774c8d2923
@ -160,7 +160,7 @@ export default class Builder {
|
||||
if (!options.babelrc && !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 }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user