Commit c58d1f8
committed
build(audience): wire CDN bundle build into pnpm build
- Adds transpile:cdn script calling tsup --config ./tsup.cdn.js.
- Orders build as transpile -> transpile:cdn -> typegen; ordering is load-bearing because the CDN config uses clean: false.
- Ships dist/cdn/imtbl-audience.global.js in the published tarball via the existing files: ["dist"] field.
- Studios can hotlink via unpkg.com/@imtbl/audience/dist/cdn/imtbl-audience.global.js until the CDN deploy pipeline lands.
Refs SDK-1151 parent 3121f3a commit c58d1f8
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments