Skip to content

Commit cf1a03f

Browse files
committed
fix: transpile defu
fixes unjs/defu#28
1 parent be8f032 commit cf1a03f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/module.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ function axiosModule (_moduleOptions) {
3737
defaultHost = 'localhost'
3838
}
3939

40+
// Transpile defu (IE11)
41+
nuxt.options.build.transpile.push('defu')
42+
4043
// Default prefix
4144
const prefix = process.env.API_PREFIX || moduleOptions.prefix || '/'
4245

0 commit comments

Comments
 (0)