File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818 },
1919 "type" : " module" ,
2020 "scripts" : {
21- "build" : " rollup -c && pnpm bundle-analyzer ./dist -- bundle-name=@codecov/example-bundle-analyzer-cli --upload-token=$BUNDLE_ANALYZER_UPLOAD_TOKEN --config-file=./baconfig.json"
21+ "build" : " rollup -c && pnpm bundle-analyzer ./dist -v -- bundle-name=@codecov/example-bundle-analyzer-cli --upload-token=$BUNDLE_ANALYZER_UPLOAD_TOKEN --api-url=$BUNDLE_ANALYZER_API_URL --config-file=./baconfig.json"
2222 },
2323 "devDependencies" : {
2424 "@codecov/bundle-analyzer" : " workspace:^" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const coreOpts = {
66 dryRun : false ,
77 uploadToken : process . env . BUNDLE_ANALYZER_UPLOAD_TOKEN ,
88 retryCount : 3 ,
9- apiUrl : "https://api.codecov.io" ,
9+ apiUrl : process . env . BUNDLE_ANALYZER_API_URL ,
1010 bundleName : "@codecov/example-bundle-analyzer-cjs" ,
1111 enableBundleAnalysis : true ,
1212 debug : true ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const coreOpts: Options = {
1010 dryRun : false ,
1111 uploadToken : process . env . BUNDLE_ANALYZER_UPLOAD_TOKEN ,
1212 retryCount : 3 ,
13- apiUrl : "https://api.codecov.io" ,
13+ apiUrl : process . env . BUNDLE_ANALYZER_API_URL ,
1414 bundleName : "@codecov/example-bundle-analyzer-esm" ,
1515 enableBundleAnalysis : true ,
1616 debug : true ,
You can’t perform that action at this time.
0 commit comments