/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v5.106.2
declarations/plugins/JsonModulesPluginParser.d.ts
20 строк
481 B
Fy
feat: allow to setup named exports for JSON modules and disable usage name export for `import file from "./file.json" with { type: "json" }`
31 окт 2025, 16:53
Не верифицирован
31 окт 2025, 16:53
f80d0dd
Код
Авторство
О чём код?
/* * 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; /** * Allow named exports for json of object type */ namedExports?: boolean; /** * Function that executes for a module source string and should return json-compatible data. */ parse?: (input: string) => any; }