@k88/cra-webpack-hot-dev-client

A Webpack Hot Dev Client taken from Create React App

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@k88/cra-webpack-hot-dev-client
051.1.02 years ago3 years agoMinified + gzip package size for @k88/cra-webpack-hot-dev-client in KB

Readme

@k88/cra-webpack-hot-dev-client

Taken from react-dev-utils, but is published as a standalone plugin and has Typescript definition.


<a href="https://www.npmjs.com/package/@k88/cra-webpack-hot-dev-client">
    <img src="https://img.shields.io/npm/v/@k88/cra-webpack-hot-dev-client.svg?style=square" title="npm" />
</a>
<a href="https://www.npmjs.com/package/@k88/cra-webpack-hot-dev-client">
    <img src="https://img.shields.io/npm/dt/@k88/cra-webpack-hot-dev-client.svg?style=square" title="npm" />
</a>
<a href="https://www.npmjs.com/package/@k88/cra-webpack-hot-dev-client?activeTab=dependents">
    <img src="https://badgen.net/npm/dependents/@k88/cra-webpack-hot-dev-client" title="Number of Dependencies" />
</a>
<a href="./LICENSE">
    <img src="https://img.shields.io/npm/l/@k88/cra-webpack-hot-dev-client.svg?style=square" title="License" />
</a>

Installation

Install using
npm install @k88/cra-webpack-hot-dev-client

Usage

Add the path to webpack entry:
module.exports = {
    /* webpack configuration */
    entry: [
        isDev && require.resolve('@k88/cra-webpack-hot-dev-client'),
        /* Other entry paths */
    ],
};