File tree Expand file tree Collapse file tree 10 files changed +22
-2
lines changed Expand file tree Collapse file tree 10 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,11 @@ export default defineBuildConfig({
3535 if ( process . env . PLUGIN_CODECOV_TOKEN && Array . isArray ( opts . plugins ) ) {
3636 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
3737 opts . plugins = [
38+ // @ts -expect-error - using rollup plugin
3839 ...opts . plugins ,
3940 // We analyze this bundle-analyzer package's build
4041 // using the codecov rollup plugin
42+ // @ts -expect-error - using rollup plugin
4143 codecovRollupPlugin ( {
4244 enableBundleAnalysis :
4345 typeof process . env . PLUGIN_CODECOV_TOKEN === "string" ,
Original file line number Diff line number Diff line change @@ -21,9 +21,11 @@ export default defineBuildConfig({
2121 hooks : {
2222 "rollup:options" : ( _ctx , opts ) => {
2323 if ( process . env . PLUGIN_CODECOV_TOKEN && Array . isArray ( opts . plugins ) ) {
24- // eslint-disable-next-line @typescript-eslint/no-unsafe-call
24+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call @ts-expect-error - using rollup plugin
2525 opts . plugins = [
26+ // @ts -expect-error - using rollup plugin
2627 ...opts . plugins ,
28+ // @ts -expect-error - using rollup plugin
2729 codecovRollupPlugin ( {
2830 enableBundleAnalysis :
2931 typeof process . env . PLUGIN_CODECOV_TOKEN === "string" ,
Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ export default defineBuildConfig({
3030 if ( process . env . PLUGIN_CODECOV_TOKEN && Array . isArray ( opts . plugins ) ) {
3131 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
3232 opts . plugins = [
33+ // @ts -expect-error - using rollup plugin
3334 ...opts . plugins ,
35+ // @ts -expect-error - using rollup plugin
3436 codecovRollupPlugin ( {
3537 enableBundleAnalysis :
3638 typeof process . env . PLUGIN_CODECOV_TOKEN === "string" ,
Original file line number Diff line number Diff line change @@ -29,9 +29,11 @@ export default defineBuildConfig({
2929 hooks : {
3030 "rollup:options" : ( _ctx , opts ) => {
3131 if ( process . env . PLUGIN_CODECOV_TOKEN && Array . isArray ( opts . plugins ) ) {
32- // eslint-disable-next-line @typescript-eslint/no-unsafe-call
32+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call @ts-expect-error - using rollup plugin
3333 opts . plugins = [
34+ // @ts -expect-error - using rollup plugin
3435 ...opts . plugins ,
36+ // @ts -expect-error - using rollup plugin
3537 codecovRollupPlugin ( {
3638 enableBundleAnalysis :
3739 typeof process . env . PLUGIN_CODECOV_TOKEN === "string" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ export default defineBuildConfig({
3131 if ( process . env . PLUGIN_CODECOV_TOKEN && Array . isArray ( opts . plugins ) ) {
3232 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
3333 opts . plugins = [
34+ // @ts -expect-error - using rollup plugin
3435 ...opts . plugins ,
36+ // @ts -expect-error - using rollup plugin
3537 codecovRollupPlugin ( {
3638 enableBundleAnalysis :
3739 typeof process . env . PLUGIN_CODECOV_TOKEN === "string" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ export default defineBuildConfig({
3131 if ( process . env . PLUGIN_CODECOV_TOKEN && Array . isArray ( opts . plugins ) ) {
3232 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
3333 opts . plugins = [
34+ // @ts -expect-error - using rollup plugin
3435 ...opts . plugins ,
36+ // @ts -expect-error - using rollup plugin
3537 codecovRollupPlugin ( {
3638 enableBundleAnalysis :
3739 typeof process . env . PLUGIN_CODECOV_TOKEN === "string" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ export default defineBuildConfig({
3131 if ( process . env . PLUGIN_CODECOV_TOKEN && Array . isArray ( opts . plugins ) ) {
3232 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
3333 opts . plugins = [
34+ // @ts -expect-error - using rollup plugin
3435 ...opts . plugins ,
36+ // @ts -expect-error - using rollup plugin
3537 codecovRollupPlugin ( {
3638 enableBundleAnalysis :
3739 typeof process . env . PLUGIN_CODECOV_TOKEN === "string" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ export default defineBuildConfig({
3131 if ( process . env . PLUGIN_CODECOV_TOKEN && Array . isArray ( opts . plugins ) ) {
3232 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
3333 opts . plugins = [
34+ // @ts -expect-error - using rollup plugin
3435 ...opts . plugins ,
36+ // @ts -expect-error - using rollup plugin
3537 codecovRollupPlugin ( {
3638 enableBundleAnalysis :
3739 typeof process . env . PLUGIN_CODECOV_TOKEN === "string" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ export default defineBuildConfig({
3131 if ( process . env . PLUGIN_CODECOV_TOKEN && Array . isArray ( opts . plugins ) ) {
3232 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
3333 opts . plugins = [
34+ // @ts -expect-error - using rollup plugin
3435 ...opts . plugins ,
36+ // @ts -expect-error - using rollup plugin
3537 codecovRollupPlugin ( {
3638 enableBundleAnalysis :
3739 typeof process . env . PLUGIN_CODECOV_TOKEN === "string" ,
Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ export default defineBuildConfig({
3030 if ( process . env . PLUGIN_CODECOV_TOKEN && Array . isArray ( opts . plugins ) ) {
3131 // eslint-disable-next-line @typescript-eslint/no-unsafe-call
3232 opts . plugins = [
33+ // @ts -expect-error - using rollup plugin
3334 ...opts . plugins ,
35+ // @ts -expect-error - using rollup plugin
3436 codecovRollupPlugin ( {
3537 enableBundleAnalysis :
3638 typeof process . env . PLUGIN_CODECOV_TOKEN === "string" ,
You can’t perform that action at this time.
0 commit comments