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

Don't force CSS to be inline #327

Open
Asparagirl opened this issue Dec 22, 2024 · 0 comments
Open

Don't force CSS to be inline #327

Asparagirl opened this issue Dec 22, 2024 · 0 comments

Comments

@Asparagirl
Copy link

Asparagirl commented Dec 22, 2024

Hi there. Is there any way we could add a feature that minifies the CSS generated by this plugin and/or then extracts the code to a single separate CSS file, rather than having it all output in the <head> element?

Even with...

vite: {
	build: {
			assetsInlineLimit: 0, // default is 4096 (4 KiB); threshold to inline assets as base64 URLs
			cssCodeSplit: false, // if false, all CSS in the entire project will be extracted into a single CSS file
	}
}

...in my nuxt.config.ts file, the icon-related CSS code from this plugin still gets output onto my pages un-minified and un-extracted.

Thanks. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant