# Discourseのアップグレード後にテーマが壊れる - テーマコンポーネントの「use strict」の変更について

**URL:** <https://meta.discourse.org/t/upcoming-theme-components-use-strict-change-themes-break-after-upgrading-discourse/185870>\
**Category:** Support\
**Created:** [2021 年 4 月 7 日午後 12:20 UTC](https://meta.discourse.org/t/upcoming-theme-components-use-strict-change-themes-break-after-upgrading-discourse/185870 "2021-04-07T12:20:59Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)\
**Post date:** [2021 年 4 月 7 日午後 4:54 UTC](https://meta.discourse.org/t/upcoming-theme-components-use-strict-change-themes-break-after-upgrading-discourse/185870/9 "2021-04-07T16:54:43Z")

</div>

うーん、それは本当に奇妙ですね。[Revert "FEATURE: Introduce theme/component QUnit tests (#12517)" (#12… · discourse/discourse@2b9ab3a · GitHub](https://github.com/discourse/discourse/commit/2b9ab3a0d91d1350188dd554764dbb4ce9837edd) を含むようにインスタンスを再度更新しましたか？「初期フォーマット」というのは具体的に何を指しているのか、もう少し詳しく説明していただけますか？つまり、テーマの JS/CSS にローカルの変更を加えていたのに、今それらの変更がすべて失われてしまった、ということでしょうか？

---

_[View the full topic](https://meta.discourse.org/t/upcoming-theme-components-use-strict-change-themes-break-after-upgrading-discourse/185870)._
