webpack/declarations/plugins/JsonModulesPluginParser.d.ts

17 lines
398 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 {
/**
* The depth of json dependency flagged as `exportInfo`.
*/
exportsDepth?: number;
2019-11-29 01:12:11 +08:00
/**
* Function that executes for a module source string and should return json-compatible data.
2019-11-29 01:12:11 +08:00
*/
2019-12-01 04:54:46 +08:00
parse?: (input: string) => any;
2019-11-29 01:12:11 +08:00
}