Dashboard cards can ship as a ZIP file
Bigger cards rarely fit in one JavaScript file anymore. They split their code into chunks that load when they are needed, and bring translations or images along. As release assets, all of these have to be flat files next to each other, and users download every one of them.
Starting with Home Assistant 2026.12, the Marketplace can install your whole card from one ZIP file instead.
Attach a ZIP file to your release, with the same name as your JavaScript file, but .zip instead of .js. That is usually the name of your repository: for awesome-card, it is awesome-card.zip. With filename in hacs.json, it is that name instead. Put the JavaScript file in its root, or in a single folder at its root, like dist. Nothing changes in hacs.json.
awesome-card.js
chunks/
editor-a1b2c3.js
translations/
en-d4e5f6.jsThe Marketplace extracts it into the folder of your card, folders included, and adds the JavaScript file as the dashboard resource, like it always does. Ship it as a ZIP file has the details.
Already attaching a ZIP file named like your card to your releases? Then your users get it starting with 2026.12, provided content_in_root is not set to true in hacs.json. If it is, remove that setting or set it to false so the Marketplace looks at release assets.
Earlier versions of Home Assistant don't know about the ZIP file, and only look for the JavaScript file. So for now, we recommend you attach both to every release:
awesome-card.zip: your card with its chunks, which 2026.12 and later installs.awesome-card.js: a single-file build, which earlier versions install.
Both install as awesome-card.js, so the dashboard resource is the same either way. The single-file build is also the fallback when the Marketplace can't use your ZIP file, for example because it is damaged.
When to drop the single-file build is up to you. It depends on the oldest Home Assistant version you want to support, and how much the extra build costs you to maintain. As a starting point, we suggest keeping it for around six months. Once you drop it, set "homeassistant": "2026.12.0" in hacs.json, so earlier versions aren't offered a release they can't install. See require a Home Assistant version.