Skip to content

build: add localdev CDN build scripts - #260

Merged
brettflorio merged 1 commit into
mainfrom
build/localdev-cdn-scripts
Aug 26, 2026
Merged

build: add localdev CDN build scripts#260
brettflorio merged 1 commit into
mainfrom
build/localdev-cdn-scripts

Conversation

@pheekus

@pheekus pheekus commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

The localdev cdn-js container serves this repo's dist/cdn at https://cdn-js.foxy.test/elements@1/, alongside the v2 line served from a second submodule at /elements@2/.

rollup -c already emits the CDN layout. These scripts just name it under the localdev: prefix the other front-end repos use, and add a --watch variant.

  • localdev:build:cdn — one-shot
  • localdev:watch:cdn — rebuild on save

No build behaviour changes. prepack still runs the same rollup step.

🤖 Generated with Claude Code

The localdev cdn-js container serves this repo's dist/cdn at
https://cdn-js.foxy.test/elements@1/, alongside the v2 line served from
the elements_beta submodule at /elements@2/.

rollup -c already emits the CDN layout; these just name it. prepack
still runs the same rollup step for the real build.
@pheekus
pheekus requested a review from brettflorio August 26, 2026 21:44
@pheekus pheekus self-assigned this Aug 26, 2026

Copy link
Copy Markdown
Contributor

@pheekus approved. Still not super familiar with Linear, not sure if I should merge … or … where to merge from here…

@brettflorio
brettflorio merged commit 335f61f into main Aug 26, 2026
6 checks passed

Copy link
Copy Markdown
Contributor

oh there's a merge button top right.

Copy link
Copy Markdown
Contributor

merged!

@pheekus

pheekus commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

@brettflorio so fast! Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants