You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to output the bundled CSS or JS in a .webc layout, the resulting tag is returned empty. I've tested that getBundle() outputs the proper code when used in an html tag other than <style> or <script>, however.
<script></script><div>(the proper javascript for the current page)</div>
I've tried troubleshooting by storing getBundle('js') to a variable in a webc:setup script (no change), replacing getBundle('js') with other text (works), as well as using webc:raw instead of webc:keep. I can't for the life of me figure out what I'm doing wrong.
I am using chained layouts, but from what I see that issue has been resolved (?)
The text was updated successfully, but these errors were encountered:
When trying to output the bundled CSS or JS in a
.webc
layout, the resulting tag is returned empty. I've tested thatgetBundle()
outputs the proper code when used in an html tag other than<style>
or<script>
, however.Edit:
getBundleFileUrl()
also works properly.Example:
Results in:
I've tried troubleshooting by storing
getBundle('js')
to a variable in awebc:setup
script (no change), replacinggetBundle('js')
with other text (works), as well as usingwebc:raw
instead ofwebc:keep
. I can't for the life of me figure out what I'm doing wrong.I am using chained layouts, but from what I see that issue has been resolved (?)
The text was updated successfully, but these errors were encountered: