Plugin

Use Chemical in your Vite developement server.

Usage

In a Vite app and open vite.config.js or vite.config.ts.

Import ChemicalVitePlugin and add it to plugins.

import { defineConfig } from "vite"
import { ChemicalVitePlugin } from "chemicaljs"

export default defineConfig({
    plugins: [ChemicalVitePlugin()],
})

You can pass any options used in the server.