@njzy/mini-react-refresh-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

mini-react-refresh-webpack-plugin

A mini webpack plugin for react refresh

This plugin is based on https://github.com/maisano/react-refresh-plugin

Motivation

When I use this plugin pmmmwh/react-refresh-webpack-plugin in my project chrome-extension-boilerplate, I meet this problem issues/399, It took me a long time to solve this problem on the original repository, and finally I realized I should make a separate version to meet my later needs, such as excluding specific entries, so this version was born

Usage

npm i -D @njzy/mini-react-refresh-webpack-plugin

webpack config:

import { MiniReactRefreshWebpackPlugin } from '@njzy/mini-react-refresh-webpack-plugin';

...
plugins: [new MiniReactRefreshWebpackPlugin()]
...

PS: No need to set react-refresh/babel

Thanks

Package Sidebar

Install

npm i @njzy/mini-react-refresh-webpack-plugin

Weekly Downloads

5

Version

0.2.3

License

MIT

Unpacked Size

36.8 kB

Total Files

23

Last publish

Collaborators

  • njzydark