import type webpack from 'webpack'; export type WebpackConfigOptions = { context ?: string, entry ?: string | Array, filename ?: string, modulename ?: string, minify ?: boolean, test ?: boolean, // eslint-disable-next-line @typescript-eslint/no-explicit-any options ?: Record, vars ?: Record, alias ?: Record, libraryTarget ?: string, web ?: boolean, debug ?: boolean, env ?: string, path ?: string, sourcemaps ?: boolean, cache ?: boolean, analyze ?: boolean, dynamic ?: boolean, babelConfig ?: string, publicPath ?: string, optimize ?: boolean, }; export type WebpackConfig = webpack.Configuration;