# שינויים מרכזיים קרובים שעלולים לשבור ערכות נושא/רכיבים מסוימים (12 באפריל)

**URL:** https://meta.discourse.org/t/upcoming-core-changes-that-may-break-some-themes-components-april-12/186252
**Category:** Announcements
**Created:** [9 באפריל,‏ 2021,‏ 6:50pm UTC](https://meta.discourse.org/t/upcoming-core-changes-that-may-break-some-themes-components-april-12/186252 "2021-04-09T18:50:23Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [11 באפריל,‏ 2021,‏ 11:20pm UTC](https://meta.discourse.org/t/upcoming-core-changes-that-may-break-some-themes-components-april-12/186252/3 "2021-04-11T23:20:11Z")

</div>

Thanks for the detailed write-up 🙂

> [@Osama](#):
>
> The PR that I’m going to merge next week will add a prefix to themes modules paths. So in our example `my-helper` will change from `discourse/helpers/my-helper` to `discourse/theme-<theme_id>/helpers/my-helper` .

Will this affect “absolute” paths to files in a plugin used in a theme component? For example theme components that work with the [layouts plugin](https://meta.discourse.org/t/custom-layouts-plugin/55208) all require helpers in the layouts plugin itself like this

```plaintext
requirejs('discourse/plugins/discourse-layouts/discourse/lib/layouts')

```

See for example, the [layouts category list widget](https://github.com/paviliondev/layouts-category-list-widget/blob/master/javascripts/discourse/initializers/layouts-category-list.js.es6#L16).

It seems the path change here brings it in line with the namespacing of assets in the plugin asset pipeline (using theme ids instead of plugin names), and that plugin asset paths used in a theme component will remain the same. And that a require like the above will still work. Is that right?

---

_[View the full topic](https://meta.discourse.org/t/upcoming-core-changes-that-may-break-some-themes-components-april-12/186252)._
