npm.io
0.19.1 • Published 8 months ago

@chialab/wds-plugin-hmr

Licence
MIT
Version
0.19.1
Deps
1
Size
40 kB
Vulns
0
Weekly
0
Stars
183

Wds Plugin Hmr CSS

Enable ES modules and CSS hot module replacement for the Web Dev Server.

Since we are moving away from the RNA cli, we are discontinuing the development of Web Dev Server plugins.

NPM


Install

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

Usage

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

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

License

Wds Plugin Hmr CSS is released under the MIT license.

Keywords