Yes, your understanding is correct. When you install and configure a theme or theme component on the server, its JS and CSS assets are compiled and optimised as part of the forum’s overall asset pipeline.
HAWK
(Hawk)
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Defer loading JavaScript in Themes and Components | 4 | 2095 | April 7, 2022 | |
| Javascript assets in a theme component | 15 | 2336 | May 7, 2021 | |
| Developing Discourse Themes & Theme Components | 14 | 108458 | March 18, 2025 | |
| Discourse-webpack: A boilerplate for developing JS-heavy Discourse components | 1 | 1975 | June 3, 2019 | |
| Beginner's guide to using Discourse Themes | 12 | 85455 | July 9, 2026 |