Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows setting nonce on generated style tags #376

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 4, 2018

  1. Allows setting nonce on generated style tags

    Uses a feature of webpack to extract a set nonce value on the generated
    style tags to allow users to maintain a Content Security Policy that
    does not need to use `unsafe-inline` for the styles.
    
    Updates the `makeStyleTag` function to optionally add the `nonce`
    attribute if the `__webpack_nonce__` value is set.
    
    Adds documentation of the feature at docs/nonce.md
    swaff committed Apr 4, 2018
    Configuration menu
    Copy the full SHA
    6341249 View commit details
    Browse the repository at this point in the history