# Disponibilidade de ativos comuns no Discourse: diferença entre desenvolvimento e produção?

**URL:** <https://meta.discourse.org/t/discourse-common-asset-availability-difference-between-development-and-production/107490>\
**Category:** Development\
**Created:** [Janeiro 25, 2019, 2:37am UTC](https://meta.discourse.org/t/discourse-common-asset-availability-difference-between-development-and-production/107490 "2019-01-25T02:37:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [Janeiro 28, 2019, 10:53pm UTC](https://meta.discourse.org/t/discourse-common-asset-availability-difference-between-development-and-production/107490/2 "2019-01-28T22:53:15Z")

</div>

Ok, I figured this out.

Production includes `handlebars.runtime.js` instead of `handlebars.js` (see `javascripts/template_include.js`), which doesn’t include `compile`, as it is assumed the templates are pre-compiled (see [here](https://stackoverflow.com/questions/19147161/what-is-the-difference-between-handlebar-js-and-handlebar-runtime-js)).

So I could just include `handlebars.js` in production, but that would be cheating. Rather I’ll need to figure out the best way to precompile raw templates for the wizard app…

---

_[View the full topic](https://meta.discourse.org/t/discourse-common-asset-availability-difference-between-development-and-production/107490)._
