0.0.2 • Published 3 years ago

@alxmtr/vite-plugin-posthtml v0.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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