# 프로덕션 환경에서 JS 파일을 수정한 후 변경 사항을 적용하는 방법은?

**URL:** https://meta.discourse.org/t/how-can-i-apply-new-changes-when-edit-js-file-in-production/176174
**Category:** Support
**Created:** [1월 15, 2021, 7:02오전 UTC](https://meta.discourse.org/t/how-can-i-apply-new-changes-when-edit-js-file-in-production/176174 "2021-01-15T07:02:16Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [1월 15, 2021, 8:46오전 UTC](https://meta.discourse.org/t/how-can-i-apply-new-changes-when-edit-js-file-in-production/176174/4 "2021-01-15T08:46:27Z")

</div>

> [@Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648):
>
> Discourse Themes and Theme Components can be used to customize the look, feel and functionality of Discourse’s frontend. This section of the developer guides aims to provide all the reference materials you need to develop simple themes for a single site, right up to complex open-source theme components. This introduction aims to provide a map of all the tools and APIs for theme development. If you prefer a step-by-step tutorial for theme development, jump straight to: Themes vs. Theme Compon…

> [@Split up theme Javascript into multiple files](https://meta.discourse.org/t/splitting-up-theme-javascript-into-multiple-files/119369?u=merefield):
>
> Complex theme javascript can be split into multiple files, to keep things nicely organised. To use this functionality, simply add files to the /javascripts folder in your theme directory. These files can not be edited from the Discourse UI, so you must use the [Theme CLI](https://meta.discourse.org/t/discourse-theme-cli-console-app-to-help-you-build-themes/82950) or [source the theme from git](https://meta.discourse.org/t/how-to-source-a-theme-from-a-private-git-repository/82584). Javascript files are treated exactly the same as they are in core/plugins, so you should follow the same file/folder structure. Theme files are loaded after core/plugins, so if the filenames match,…

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-apply-new-changes-when-edit-js-file-in-production/176174)._
