Skip to content

Commit

Permalink
fix: build.transpile should be an array
Browse files Browse the repository at this point in the history
Resolves #115
  • Loading branch information
atinux committed Jul 14, 2020
1 parent fdbdb03 commit 823204c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function httpModule (_moduleOptions) {
nuxt.options.alias['ky-universal'] = path.resolve(__dirname, '../ky-universal')

// Transpile ky and ky-universal
nuxt.options.build.transpile = nuxt.options.build.transpile || {}
nuxt.options.build.transpile = nuxt.options.build.transpile || []
nuxt.options.build.transpile.push('ky')
nuxt.options.build.transpile.push('@nuxt/http')

Expand Down

0 comments on commit 823204c

Please sign in to comment.