Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

external?: string[]
noExternal?: string | true | RegExp | (string | RegExp)[]
optimizeDeps?: DepOptimizationConfig

Control over which dependencies are optimized during SSR and esbuild options During build: no external CJS dependencies are optimized by default During dev: explicit no external CJS dependencies are optimized by default

experimental
resolve?: { conditions?: string[]; externalConditions?: string[] }

Type declaration

  • Optional conditions?: string[]

    Conditions that are used in the plugin pipeline. The default value is the root config's resolve.conditions.

    Use this to override the default ssr conditions for the ssr build.

    default

    rootConfig.resolve.conditions

  • Optional externalConditions?: string[]

    Conditions that are used during ssr import (including ssrLoadModule) of externalized dependencies.

    default

    []

target?: SSRTarget

Define the target for the ssr build. The browser field in package.json is ignored for node but used if webworker is the target

default

'node'