@malobre/vite-plugin-posthtml
v0.1.1
Published
Run PostHTML on vite entry points
Downloads
4
Readme
@malobre/vite-plugin-posthtml
Usage
- Install
npm install --save-dev @malobre/vite-plugin-posthtml
- Add plugin to your vite config
import { defineConfig } from 'vite' import posthtml from '@malobre/vite-plugin-posthtml' export default defineConfig({ plugins: [posthtml( plugins: [/* postHTML plugins*/], options: { // postHTML options, see: // https://github.com/posthtml/posthtml/blob/v0.16.6/docs/core.md#posthtml-options } )], })