mirror of https://github.com/sundowndev/http.git
parent
fdbdb032b3
commit
823204c399
|
@ -142,7 +142,7 @@ function httpModule (_moduleOptions) {
|
||||||
nuxt.options.alias['ky-universal'] = path.resolve(__dirname, '../ky-universal')
|
nuxt.options.alias['ky-universal'] = path.resolve(__dirname, '../ky-universal')
|
||||||
|
|
||||||
// Transpile ky and 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('ky')
|
||||||
nuxt.options.build.transpile.push('@nuxt/http')
|
nuxt.options.build.transpile.push('@nuxt/http')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue