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.
10 lines
371 B
10 lines
371 B
import { AnyConfiguration } from '../types';
|
|
/**
|
|
* Some libraries import Node modules but don't use them in the browser.
|
|
* Tell Webpack to provide empty mocks for them so importing them works.
|
|
*
|
|
* @param webpackConfig Existing Webpack config to modify.
|
|
* @category addons
|
|
*/
|
|
export default function withNodeMocks(webpackConfig: AnyConfiguration): AnyConfiguration;
|