mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: require babel-preset-vue-app directly (#3406)
This commit is contained in:
parent
8acef8d01e
commit
0db21b1f54
@ -32,7 +32,7 @@ export default class WebpackBaseConfig {
|
||||
if (!options.babelrc && !options.presets) {
|
||||
options.presets = [
|
||||
[
|
||||
this.builder.nuxt.resolvePath('babel-preset-vue-app'),
|
||||
require.resolve('babel-preset-vue-app'),
|
||||
{
|
||||
targets: this.isServer ? { node: 'current' } : { ie: 9, uglify: true }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user