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

Use @primer/octicons package instead of curating icons.tsx #2610

Merged
merged 7 commits into from
Dec 15, 2019

Conversation

fregante
Copy link
Member

@fregante fregante commented Dec 9, 2019

Closes #1752

The only issue I think is that this throws off the sourcemap (untested) and I'm not sure of how to fix that. Perhaps https://github.com/Rich-Harris/magic-string

@fregante fregante added the meta Related to Refined GitHub itself label Dec 9, 2019
@fregante fregante marked this pull request as ready for review December 9, 2019 15:08
@fregante
Copy link
Member Author

The sourcemaps seem to continue working, as long as you don't step into a *Icon() function, which is mostly useless anyway since they're plain dom-chef calls.

@fregante fregante merged commit bbc5ec2 into master Dec 15, 2019
@fregante fregante deleted the npm-octicons branch December 15, 2019 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Related to Refined GitHub itself
Development

Successfully merging this pull request may close these issues.

Use package octicons instead of including icons.tsx
1 participant