We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reportVariants
Using a base configuration with long reportVariants such as
"apiReport": { "reportVariants": ["public", "beta"] },
cannot be shortened in a derived config.
If the derived specifies:
"apiReport": { "reportVariants": ["alpha"] },
The result using loadash.merge is
"apiReport": { "reportVariants": ["alpha", "beta"] },
Use array with duplicate entries to mask base config. "reportVariants": ["alpha", "alpha"]
"reportVariants": ["alpha", "alpha"]
will produce internal "reportConfigs":
"reportConfigs": [ { "fileName": "fluid-framework.alpha.api.md", "variant": "alpha" }, { "fileName": "fluid-framework.alpha.api.md", "variant": "alpha" } ],
but won't fail.
Problem occurs in ExtractorConfig.ts line 614:
// Merge extractorConfig into baseConfig, mutating baseConfig lodash.merge(baseConfig, configObject); configObject = baseConfig;
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-extractor
node -v
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Using a base configuration with long
reportVariants
such ascannot be shortened in a derived config.
If the derived specifies:
The result using loadash.merge is
Workaround
Use array with duplicate entries to mask base config.
"reportVariants": ["alpha", "alpha"]
will produce internal "reportConfigs":
but won't fail.
Details
Problem occurs in ExtractorConfig.ts line 614:
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-extractor
version?node -v
)?The text was updated successfully, but these errors were encountered: