Skip to content

vituum/vite-plugin-css-inline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm package node compatility

⚡️🧃 ViteCssInline

Inlines CSS code to HTML via @css-inline. It's handy for creating email templates.

import cssInline from '@vituum/vite-plugin-css-inline'

export default {
  plugins: [
    cssInline({ 
      paths: [],
      tables: true,
      postcss: {},
      doctype: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
      options: {}
    })
  ]
}

Read the docs to learn more about the plugin options.

Requirements

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors