mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-30 12:33:43 +03:00
35418b1569
* chore: migrate from babel to esbuild loader * fix cypress tests
6 lines
171 B
TypeScript
6 lines
171 B
TypeScript
import * as webpack from 'webpack';
|
|
|
|
export function webpackIgnore(regexp) {
|
|
return new webpack.NormalModuleReplacementPlugin(regexp, require.resolve('lodash.noop'));
|
|
}
|