Skip to content

Commit e996fad

Browse files
committed
maybe we just need to reassign the options?
1 parent e916ef5 commit e996fad

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

packages/bundler-plugin-core/build.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ export default defineBuildConfig({
3838
apiUrl: process.env.PLUGIN_CODECOV_API_URL,
3939
}),
4040
];
41+
} else {
42+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
43+
opts.plugins = opts.plugins;
4144
}
4245
},
4346
},

packages/rollup-plugin/build.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ export default defineBuildConfig({
3939
apiUrl: process.env.PLUGIN_CODECOV_API_URL,
4040
}),
4141
];
42+
} else {
43+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
44+
opts.plugins = opts.plugins;
4245
}
4346
},
4447
},

packages/vite-plugin/build.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ export default defineBuildConfig({
3939
apiUrl: process.env.PLUGIN_CODECOV_API_URL,
4040
}),
4141
];
42+
} else {
43+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
44+
opts.plugins = opts.plugins;
4245
}
4346
},
4447
},

packages/webpack-plugin/build.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ export default defineBuildConfig({
3838
apiUrl: process.env.PLUGIN_CODECOV_API_URL,
3939
}),
4040
];
41+
} else {
42+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
43+
opts.plugins = opts.plugins;
4144
}
4245
},
4346
},

0 commit comments

Comments
 (0)