Skip to content

Move document capture CSS to main stylesheet bundle#4587

Merged
solipet merged 2 commits intomasterfrom
aduth-remove-webpacker-sass
Jan 14, 2021
Merged

Move document capture CSS to main stylesheet bundle#4587
solipet merged 2 commits intomasterfrom
aduth-remove-webpacker-sass

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jan 14, 2021

Why: Temporary solution to address issue of nondeterministic hashes in deployed environments.

aduth added 2 commits January 14, 2021 12:21
**Why**: Temporary solution to address issue of nondeterministic hashes in deployed environments.
window.LoginGov.assets = <%= raw asset_keys.map { |key| [key, asset_path(key)] }.to_h.to_json %>;
<% end %>
<%= javascript_packs_tag_once 'document-capture' %>
<%= stylesheet_packs_with_chunks_tag 'document-capture' %>
Copy link
Contributor Author

@aduth aduth Jan 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will conflict with the stages/prod branch because we switched from stylesheet_pack_tag to stylesheet_packs_with_chunks_tag in #4553, merged this morning. In both cases, it's just a matter of removing the Webpacker pack import of the stylesheet.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See branch aduth-remove-webpacker-sass-prod based on stages/prod, specifically can cherry-pick 99b26f1 onto stages/prod.

@solipet solipet merged commit 298f8f9 into master Jan 14, 2021
@solipet solipet deleted the aduth-remove-webpacker-sass branch January 14, 2021 18:13
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.

3 participants