Feature request: Optimize plugins.mjs in @fortawesome/fontawesome-svg-core #20916
Arthri
started this conversation in
Feature Requests
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
plugins.mjs contains one line that takes up ~22kb
Font-Awesome/js-packages/@fortawesome/fontawesome-svg-core/plugins.mjs
Line 1327 in dcdc48a
Feature description
Refactor the CSS around so that it can be handled and optimized by tools like PostCSS and CSS Modules
Alternatives
Put it in a different file and change the import strategy, because even if the auto CSS plugin is not enabled, bundlers will still include that long line.
Additional context
No response
Feature request checklist
Beta Was this translation helpful? Give feedback.
All reactions