Skip to content

Bundle as static reources #492

Closed Answered by rektdeckard
tomitrescak asked this question in Q&A
Discussion options

You must be logged in to vote

I would definitely consider shipping an SVG Sprite Sheet for each icon weight, possibly as another means of using the @phosphor-icons/web package. They'd be big, but they'd be simple and cacheable.

I would also consider adding Sprite Sheet generation to https://pack.phosphoricons.com (in fact, I think this is a good idea). It's not automatic and it doesn't integrate with build tools, but it DOES make it possible to have minimal, cacheable bundles.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@rektdeckard
Comment options

Answer selected by tomitrescak
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@rektdeckard
Comment options

@tomitrescak
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants