Skip to content

Conversation

@jonrohan
Copy link
Member

What are you trying to accomplish?

closes https://github.com/github/primer/issues/2875

Describe the bug

The @import '@primer/css/support/index.scss'; import is rendering duplicate CSS in all bundles on github. This line in the index file is importing from this file.

Screen.Recording.2023-11-20.at.10.28.01.AM.mov

Expected behavior

The support package ideally shouldn't be rendering any CSS. Because it's meant to be a Sass variable/mixin package it's imported everywhere in the codebase.

Can these changes ship as is?

  • Yes, this PR does not depend on additional changes. 🚢

@jonrohan jonrohan requested a review from a team as a code owner November 29, 2023 20:49
@jonrohan jonrohan requested a review from tobiasahlin November 29, 2023 20:49
@changeset-bot
Copy link

changeset-bot bot commented Nov 29, 2023

🦋 Changeset detected

Latest commit: 31543d5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/css Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jonrohan jonrohan merged commit f0b0d20 into main Nov 30, 2023
@jonrohan jonrohan deleted the remove_primitives_token_import branch November 30, 2023 23:02
@primer primer bot mentioned this pull request Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants