1 |
|
2 | import { Configuration } from 'webpack';
|
3 | declare type MetaConfig = Configuration | ((env?: string) => Configuration);
|
4 | /**
|
5 | * Merge two Webpack configs.
|
6 | *
|
7 | * In the user config:
|
8 | * - Ignores given sections (options.ignore).
|
9 | * - Ignores plugins that shouldn’t be used twice or may cause issues.
|
10 | *
|
11 | * @param {object} baseConfig
|
12 | * @param {object|Function} userConfig
|
13 | * @param {string} env
|
14 | * @return {object}
|
15 | */
|
16 | export default function mergeWebpackConfig(baseConfig: MetaConfig, userConfig: MetaConfig, env?: string): Configuration;
|
17 | export {};
|
18 |
|
\ | No newline at end of file |