💻
What problem are you trying to solve?
Standalone package used in online editable code env.
The transformed scripts need a nonce to enable inline execution when using secure SCP without script-src-element: unsafe-inline.
Describe the solution you'd like
Is it possibile to add a nonce attribute support?
Example:
<script type="text/babel" nonce="nonce-xxxxx">
Cache the nonce value in loadScripts and set it to the new script element.
Describe alternatives you've considered
No feasible solutions have been found yet.
Documentation, Adoption, Migration Strategy
No response
💻
What problem are you trying to solve?
Standalone package used in online editable code env.
The transformed scripts need a nonce to enable inline execution when using secure SCP without
script-src-element: unsafe-inline.Describe the solution you'd like
Is it possibile to add a nonce attribute support?
Example:
<script type="text/babel" nonce="nonce-xxxxx">Cache the nonce value in loadScripts and set it to the new script element.
Describe alternatives you've considered
No feasible solutions have been found yet.
Documentation, Adoption, Migration Strategy
No response