fix(config): add babel-loader options types (#5895)

This commit is contained in:
Kevin Marrec 2019-06-08 13:20:19 +02:00 committed by Pooya Parsa
parent 5c6c35c412
commit b1797af428

View File

@ -23,6 +23,10 @@ interface NuxtBabelPresetEnv {
} }
interface NuxtBabelOptions extends Pick<TransformOptions, Exclude<keyof TransformOptions, 'presets'>> { 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 presets?: ((env: NuxtBabelPresetEnv, defaultPreset: [string, object]) => PluginItem[] | void) | PluginItem[] | null
} }