- 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 } )], })
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Run postHTML plugins on HTML inputs.
License
malobre/vite-plugin-posthtml
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Run postHTML plugins on HTML inputs.