Skip to content

alxmtr/vite-plugin-posthtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-plugin-posthtml

A PostHTML plugin for Vite

Install

npm i @alxmtr/vite-plugin-posthtml

Usage

Edit your vite.config.js file:

import posthtmlPlugin from '@alxmtr/vite-plugin-posthtml'

export default {
  plugins: [
    posthtmlPlugin({
      options: {
        // ...
      },
      plugins: [
        // ...
      ],
    }),
  ],
}

Options

options

PostHTML parser options

plugins

PostHTML plugins