mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(config): add babel-loader options types (#5895)
This commit is contained in:
parent
5c6c35c412
commit
b1797af428
4
packages/config/types/build.d.ts
vendored
4
packages/config/types/build.d.ts
vendored
@ -23,6 +23,10 @@ interface NuxtBabelPresetEnv {
|
||||
}
|
||||
|
||||
interface NuxtBabelOptions extends Pick<TransformOptions, Exclude<keyof TransformOptions, 'presets'>> {
|
||||
cacheCompression?: boolean
|
||||
cacheDirectory?: boolean
|
||||
cacheIdentifier?: string
|
||||
customize?: string | null
|
||||
presets?: ((env: NuxtBabelPresetEnv, defaultPreset: [string, object]) => PluginItem[] | void) | PluginItem[] | null
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user