# Dist-JavaScripts und watch-storefront.sh

**URL:** <https://forum.shopware.com/t/dist-javascripts-und-watch-storefront-sh/93319>\
**Category:** Themes & Design\
**Created:** [9. März 2022 um 10:31 UTC](https://forum.shopware.com/t/dist-javascripts-und-watch-storefront-sh/93319 "2022-03-09T10:31:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lw\_marcel](https://avatars.discourse-cdn.com/v4/letter/l/aca169/32.png) [@lw\_marcel](https://forum.shopware.com/u/lw_marcel)\
**Post date:** [9. März 2022 um 10:31 UTC](https://forum.shopware.com/t/dist-javascripts-und-watch-storefront-sh/93319/1 "2022-03-09T10:31:51Z")

</div>

Hallo,

ich will in einem Theme eine JavaScript-Datei einbinden (externe Library), Diese habe ich unter „app/storefront/dist/storefront/js“ abgelegt. In der theme.json habe ich diese auch im Abschnitt script definiert. Baue ich den Storefront, so funktioniert auch alles. Das Problem ist aber, sobald ich watch-storefront verwende werden die dist-Dateien nicht beachtet.

Habt ihr das auch schon festgestellt? Oder mache ich etwas falsch?

Grüße

Marcel
