Replies: 1 comment
-
If you need to delete or comment on the file, you can access it later. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to strip out an import statement in a CSS file at build time, can anyone offer advice as to how to go about that (or whether this could be incorporated as a future feature of purgecss)?
The full import statement is as follows:
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap);
The reason for wanting to remove the import is because it's not needed (in my case) and, as it's an externally-referenced file, it's hitting the page performance due to blocking page rendering.
Most grateful for any help or advice!
Beta Was this translation helpful? Give feedback.
All reactions