@chialab/wds-plugin-hmr-css

Enable CSS hmr for the web dev server.

Usage no npm install needed!

<script type="module">
  import chialabWdsPluginHmrCss from 'https://cdn.skypack.dev/@chialab/wds-plugin-hmr-css';
</script>

README

Wds Plugin Hmr CSS • Enable CSS hmr for the Web Dev Server.

NPM


Install

$ npm i @chialab/wds-plugin-hmr-css -D
$ yarn add @chialab/wds-plugin-hmr-css -D

Usage

import { startDevServer } from '@web/dev-server';
import { hmrCssPlugin } from '@chialab/wds-plugin-hmr-css';

await startDevServer({
    plugins: [
        hmrCssPlugin(),
    ],
});

License

Wds Plugin Hmr CSS is released under the MIT license.