Inlines CSS (sass, less etc. also supported) code to HTML via Juice. It's handy for creating email templates.
import juice from '@vituum/vite-plugin-juice'
export default {
plugins: [
juice({
paths: [],
tables: false,
juice: {}
})
]
}
Read the docs to learn more about the plugin options.