Skip to content

Commit

Permalink
fix: transpile defu
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.