There is some way of use the slot content inside the script tag? something like this:
<CustomComponent>I want to use this text inside the script tag of the custom component</CustomComponent>
and inside the custom component:
<script>console.log(ThatOneString)</script><slot/>