Wds Plugin Hmr CSS • Enable ES modules and CSS hot module replacement for the Web Dev Server.
Install
npm i @chialab/wds-plugin-hmr -D
yarn add @chialab/wds-plugin-hmr -D
Usage
import { startDevServer } from '@web/dev-server';
import { hmrPlugin } from '@chialab/wds-plugin-hmr';
await startDevServer({
plugins: [
hmrPlugin(),
],
});
License
Wds Plugin Hmr CSS is released under the MIT license.