fix(types): add typing for build.stats options (#9555)

This commit is contained in:
Daniel Roe 2021-07-14 11:21:06 +01:00 committed by GitHub
parent a3b2fd86ad
commit 8e725d34b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,6 +177,7 @@ export interface NuxtOptionsBuild {
} }
ssr?: boolean ssr?: boolean
standalone?: boolean standalone?: boolean
stats?: WebpackConfiguration['stats']
templates?: any templates?: any
terser?: TerserPluginOptions | boolean terser?: TerserPluginOptions | boolean
transpile?: Array<string | RegExp | ((context: NuxtWebpackEnv) => string | RegExp | undefined)> transpile?: Array<string | RegExp | ((context: NuxtWebpackEnv) => string | RegExp | undefined)>