Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: transpile defu
  • Loading branch information
pi0 committed May 17, 2021
1 parent be8f032 commit cf1a03f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/module.js
Expand Up @@ -37,6 +37,9 @@ function axiosModule (_moduleOptions) {
defaultHost = 'localhost'
}

// Transpile defu (IE11)
nuxt.options.build.transpile.push('defu')

// Default prefix
const prefix = process.env.API_PREFIX || moduleOptions.prefix || '/'

Expand Down

0 comments on commit cf1a03f

Please sign in to comment.