webpack/declarations/plugins/JsonModulesPluginParser.d.ts

16 lines
376 B
TypeScript
Raw Normal View History

2019-11-29 01:12:11 +08:00
/**
* This file was automatically generated.
* DO NOT MODIFY BY HAND.
* Run `yarn special-lint-fix` to update
*/
export interface JsonModulesPluginParserOptions {
/**
* Function that executes for a module source string and should return json-compatible string or JS object
*/
parse?: (
input: string,
module: import("../../lib/Module")
) => string | object;
}