mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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) {
|
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 }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user