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

fix: rollup minify selectors should retain spaces #3524

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

radium-v
Copy link
Collaborator

Description

Reduce complexity for CSS tagged template compression. Also spotted some invalid commas in the progress stylesheets.

Motivation & context

The CSS tagged template minifier was combining :host() .child selectors, causing styles to not get rendered properly.

Issue type checklist

  • Chore: A change that does not impact distributed packages.
  • Bug fix: A change that fixes an issue, link to the issue above.
  • New feature: A change that adds functionality.

Is this a breaking change?

  • This change causes current functionality to break.

Adding or modifying component(s) in @microsoft/fast-components checklist

Process & policy checklist

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

@@ -48,7 +48,7 @@ export const ProgressStyles = css`
height: 100%;
background-color: ${accentForegroundRestBehavior.var};
border-radius: calc(var(--design-unit) * 1px);
animation-timing-function: cubic-bezier(0.4, 0.0, 0.6, 1.0);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These were likely automatically applied by vscode eslint.

filesize({ showMinifiedSize: false }),
filesize({
showMinifiedSize: false,
showBrotliSize: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice!

@EisenbergEffect EisenbergEffect self-requested a review July 17, 2020 01:20
@radium-v radium-v force-pushed the users/jokreitl/rollup-minify-fix branch from 16b3c45 to b2ea909 Compare July 20, 2020 17:56
@radium-v radium-v self-assigned this Jul 20, 2020
@radium-v radium-v merged commit cbdfc45 into master Jul 20, 2020
@radium-v radium-v deleted the users/jokreitl/rollup-minify-fix branch July 20, 2020 18:16
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.

5 participants