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

WIP add support for Subresource Integrity #1029

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

WIP add support for Subresource Integrity #1029

wants to merge 1 commit into from

Conversation

apaleslimghost
Copy link
Member

so far this PR just adds the webpack-subresource-integrity plugin to dotcom-build-base, and configures things to output the integrity hashes in the manifest.

we'd still need to have dotcom-ui-bootstrap output these hashes in the integrity attribute. however, the asset loader, shell and bootstrap all just expect an array of strings, and changing that all the way through was proving to be annoying.

tbh the asset loader seems unnecessarily complex, and has a lot of functionality that i'm pretty sure people aren't using. i'm tempted to rewrite it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant