Skip to content

Commit ceddf5d

Browse files
bkboothclaude
andcommitted
test: add temporary padding to verify bundle size delta reporting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 656ad41 commit ceddf5d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

packages/audience/pixel/src/iife.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,13 @@
66
* bundle as small as possible.
77
*/
88
import './bootstrap';
9+
10+
// TEST: temporary side-effectful padding to verify bundle size delta (not tree-shakeable)
11+
// eslint-disable-next-line no-underscore-dangle
12+
(window as Record<string, unknown>).__imtblBundleTest = [
13+
'Temporary padding to verify bundle size delta reporting.',
14+
'This array exists solely to inflate the bundle for CI testing.',
15+
'It will be removed after verifying the delta calculation works.',
16+
'Adding enough unique text to make a visible gzipped difference.',
17+
'The previous attempt used an unused variable which tsup tree-shook away.',
18+
].join(' ');

0 commit comments

Comments
 (0)