/vite-plugin-juice

⚡🧃 Vite plugin for Juice, inlines css into HTML

Primary LanguageJavaScriptMIT LicenseMIT

npm package node compatility

⚡️🧃 ViteJuice

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.

Requirements