Skip to content

Update nile-elements w/ npm auto-update - #2229

Merged
MattIPv4 merged 1 commit into
cdnjs:masterfrom
simonabadoiu:fix/nile-elements-theme
Nov 23, 2026
Merged

MattIPv4 merged 1 commit into
cdnjs:masterfrom
simonabadoiu:fix/nile-elements-theme

Conversation

@simonabadoiu

@simonabadoiu simonabadoiu commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

📎 clopy sim-ai

Change

Add demo/nxtgen.css to the nile-elements file map, next to dist/index.js. The library request (#2168) asked for both files, but #2220 published only the JS bundle. The stylesheet ships in the npm package (60 KB at 2.0.26). It holds the Nile design tokens and loads its Inter fonts from absolute assets.aquera.io URLs, so it works from cdnjs with no relative imports. It is published as nxtgen.css at the version root.

CSS minification stays on; the config only disables JS optimization.

Verification

  • With the file-map matcher on npm 2.0.26, the map now selects dist/index.js and demo/nxtgen.css.
  • The local checker is a Linux binary and Docker is unavailable here; CI still needs to validate the config.

Refs #2168. This only affects future imports; 2.0.26 and earlier keep their current files.

The library request (cdnjs#2168) asked for demo/nxtgen.css next to dist/index.js. It ships in the npm package and is self-contained (fonts load from absolute URLs). CSS minification stays on; only JS optimization is disabled.
@MattIPv4 MattIPv4 changed the title Publish the nile-elements nxtgen.css theme Update nile-elements w/ npm auto-update Nov 23, 2026
@MattIPv4
MattIPv4 merged commit c480347 into cdnjs:master Nov 23, 2026
1 check passed
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