@ima/dev-utils
Version:
IMA.js dev utils used used mainly in @ima/cli and other dev-related utilities.
9 lines (8 loc) • 321 B
TypeScript
import { StatsError } from 'webpack';
import { CompileError } from './parserUtils';
/**
* General webpack compile error parser which tries to parse all remaining
* errors from error stack and stats params.
*/
declare function webpackErrorParser(error: StatsError | Error): CompileError;
export { webpackErrorParser };