You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
338 B
12 lines
338 B
import { AnyConfiguration } from '../types';
|
|
/**
|
|
* Apply aliases to a Webpack config
|
|
*
|
|
* @param webpackConfig Existing Webpack config to modify.
|
|
* @param alias Extra aliases to inject
|
|
* @category addons
|
|
*/
|
|
export default function withAlias(webpackConfig: AnyConfiguration, alias?: {
|
|
[key: string]: string;
|
|
}): AnyConfiguration;
|