/plugin-lit-refresh

Lit HMR (dev-server-hmr republished from Vite)

Primary LanguageJavaScriptMIT LicenseMIT

@dblechoc/plugin-lit-refresh

Provides Lit HMR support support for Vite. State won't reload, just styles.

Basically dev-server-hmr republished for Vite.

// vite.config.js
import LitRefresh from "@dblechoc/plugin-lit-refresh";

export default {
  plugins: [LitRefresh()],
};