icon icon indicating copy to clipboard operation
icon copied to clipboard

Don't force CSS to be inline

Open Asparagirl opened this issue 1 year ago • 0 comments

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. :-)

Asparagirl avatar Dec 22 '24 00:12 Asparagirl