Skip to content

Commit

Permalink
Don't use codecovRollupPlugin when coverage is turned on
Browse files Browse the repository at this point in the history
  • Loading branch information
mbraak committed Apr 1, 2024
1 parent c527330 commit d7fecce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if (!debugBuild) {
plugins.push(terserPlugin);
}

if (!debugBuild && process.env.CODECOV_TOKEN) {
if (!debugBuild && !includeCoverage && process.env.CODECOV_TOKEN) {
const codecovPlugin = codecovRollupPlugin({
bundleName: "jqtree-bundle",
enableBundleAnalysis: true,
Expand Down

0 comments on commit d7fecce

Please sign in to comment.