We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
build.transpile
1 parent 7e4a070 commit 66d56abCopy full SHA for 66d56ab
lib/module.js
@@ -38,7 +38,9 @@ function axiosModule (_moduleOptions) {
38
}
39
40
// Transpile defu (IE11)
41
- nuxt.options.build.transpile.push('defu')
+ if (nuxt.options.build.transpile /* nuxt 1 */) {
42
+ nuxt.options.build.transpile.push('defu')
43
+ }
44
45
// Default prefix
46
const prefix = process.env.API_PREFIX || moduleOptions.prefix || '/'
0 commit comments