@nuxt/config
Advanced tools
Comparing version 2.7.1 to 2.8.0
{ | ||
"name": "@nuxt/config", | ||
"version": "2.7.1", | ||
"version": "2.8.0", | ||
"repository": "nuxt/nuxt.js", | ||
@@ -13,4 +13,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@nuxt/utils": "2.7.1", | ||
"consola": "^2.6.1", | ||
"@nuxt/utils": "2.8.0", | ||
"consola": "^2.7.1", | ||
"std-env": "^2.2.1" | ||
@@ -17,0 +17,0 @@ }, |
@@ -11,3 +11,3 @@ /** | ||
} from 'webpack' | ||
import { TransformOptions } from '@babel/core' | ||
import { TransformOptions, PluginItem } from '@babel/core' | ||
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer' | ||
@@ -22,5 +22,13 @@ import { Options as WebpackDevMiddlewareOptions } from 'webpack-dev-middleware' | ||
interface NuxtBabelPresetEnv { | ||
isServer: boolean | ||
} | ||
interface NuxtBabelOptions extends Pick<TransformOptions, Exclude<keyof TransformOptions, 'presets'>> { | ||
presets?: ((env: NuxtBabelPresetEnv, defaultPreset: [string, object]) => PluginItem[] | void) | PluginItem[] | null | ||
} | ||
export interface NuxtConfigurationBuild { | ||
analyze?: BundleAnalyzerPlugin.Options | boolean | ||
babel?: TransformOptions | ||
babel?: NuxtBabelOptions | ||
cache?: boolean | ||
@@ -46,2 +54,3 @@ crossorigin?: string | ||
html?: { minify: HtmlMinifierOptions } | ||
indicator?: boolean | ||
loaders?: NuxtConfigurationLoaders | ||
@@ -48,0 +57,0 @@ optimization?: WebpackOptions.Optimization |
@@ -26,3 +26,4 @@ /** | ||
ssr?: boolean | ||
ssrLog?: boolean | 'collapsed' | ||
static?: ServeStaticOptions | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126787
4169
+ Added@nuxt/utils@2.8.0(transitive)
- Removed@nuxt/utils@2.7.1(transitive)
Updated@nuxt/utils@2.8.0
Updatedconsola@^2.7.1