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

CSS minification not handling / relative paths to _node_modules_ #1023

Closed
thescientist13 opened this issue Dec 6, 2022 · 0 comments · Fixed by #1025
Closed

CSS minification not handling / relative paths to _node_modules_ #1023

thescientist13 opened this issue Dec 6, 2022 · 0 comments · Fixed by #1025
Assignees
Labels
bug Something isn't working CLI v0.27.1

Comments

@thescientist13
Copy link
Member

For example, referencing something like PrismJS CSS in an inline <style> tag is not getting optimized

For example

<style>
    @import url('/node_modules/prismjs/themes/prism-twilight.css');
</style>

Comes out without any minification applied
Image


Seems like we'll just need to make an exception in our @import handling logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLI v0.27.1
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant