-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: standalone
Description
💻
- Would you like to work on this feature?
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
Metadata
Metadata
Assignees
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: standalone