# Variable defaultConfigs`Const`

defaultConfigs: {
development(baseConfig?, moreParts?): any;
karma(baseConfig?, moreParts?): any;
production(baseConfig?, moreParts?): any;
}

Provide out of the box default webpack configs for various modes:

Available configs:

- development() - for development
- production() - for building production
- karma() - for running karma tests

#### Type declaration

- ##### development:function

  - development(baseConfig?, moreParts?): any

  - generate webpack config for development

    Basically: `applyPartials({}, [...profiles.base, ...profiles.development])`

    #### Parameters

    - `Optional` baseConfig: PlainConfig

      base config to merge into (not mutated)

    - `Optional` moreParts: any[]

      more partials to apply (will override)

    #### Returns any

    a new webpack config ready for use

    - Defined in packages/xarc-webpack/lib/index.d.ts:252

- ##### karma:function

  - karma(baseConfig?, moreParts?): any

  - generate webpack config for running karma tests

    Basically: `applyPartials({}, [...profiles.base, ...profiles.karma])`

    #### Parameters

    - `Optional` baseConfig: PlainConfig

      base config to merge into (not mutated)

    - `Optional` moreParts: any[]

      more partials to apply (will override)

    #### Returns any

    a new webpack config ready for use

    - Defined in packages/xarc-webpack/lib/index.d.ts:270

- ##### production:function

  - production(baseConfig?, moreParts?): any

  - generate webpack config for production

    Basically: `applyPartials({}, [...profiles.base, ...profiles.production])`

    #### Parameters

    - `Optional` baseConfig: PlainConfig

      base config to merge into (not mutated)

    - `Optional` moreParts: any[]

      more partials to apply (will override)

    #### Returns any

    a new webpack config ready for use

    - Defined in packages/xarc-webpack/lib/index.d.ts:261

- Defined in packages/xarc-webpack/lib/index.d.ts:243