Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 613 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 613 Bytes

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