@chialab/wds-plugin-hmr
v0.19.1
Published
Enable ES modules and CSS hot module replacement for the web dev server.
Downloads
209
Readme
Wds Plugin Hmr CSS
Enable ES modules and CSS hot module replacement for the Web Dev Server.
[!CAUTION] Since we are moving away from the RNA cli, we are discontinuing the development of Web Dev Server plugins.
Install
npm i @chialab/wds-plugin-hmr -Dyarn add @chialab/wds-plugin-hmr -Dpnpm add @chialab/wds-plugin-hmr -DUsage
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.
