Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

style: Use single-line // comments in Sass #2602

Merged
merged 2 commits into from
Apr 20, 2018
Merged

Conversation

acdvorak
Copy link
Contributor

Multi-line /* ... */ comments get emitted verbatim in the CSS output,
whereas single-line // comments do not.

To test, run npm run build and compare
build/material-components-web.css against the same file generated by
master.

You'll notice a bunch of seemingly random orphaned CSS comments are no
longer emitted.

Multi-line `/* ... */` comments get emitted verbatim in the CSS output,
whereas single-line `//` comments do not.

To test, run `npm run build` and compare
`build/material-components-web.css` against the same file generated by
`master`.

You'll notice a bunch of seemingly random orphaned CSS comments are no
longer emitted.
@codecov-io
Copy link

codecov-io commented Apr 19, 2018

Codecov Report

Merging #2602 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2602   +/-   ##
=======================================
  Coverage   98.68%   98.68%           
=======================================
  Files          98       98           
  Lines        4198     4198           
  Branches      533      533           
=======================================
  Hits         4143     4143           
  Misses         55       55

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 64a00b2...b550665. Read the comment docs.

Copy link
Contributor

@williamernest williamernest left a comment

Choose a reason for hiding this comment

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

LGTM

@acdvorak acdvorak merged commit 6ede696 into master Apr 20, 2018
@acdvorak acdvorak deleted the style/sass-comments branch April 20, 2018 05:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants