react-refresh-webpack-plugin
react-refresh-webpack-plugin copied to clipboard
A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.
I'm using this plugin with the following config (irrelevant parts omitted): // Using source maps (specifically the slow but good kind) devtool: 'eval-source-map', plugins: [ new webpack.HotModuleReplacementPlugin(), // Using this...
Currently the runtime is not pre-processed, and this causes a lot of troubles when trying to use it with electron in a sandboxed environment.
Webpack is the foundation of several projects representing significant chunks the React ecosystem. Today, these are CRA, Next, and Gatsby. Although there are likely more. Lately, we've been working on...
@pmmmwh I' m getting this error message:  ERROR in ./src/renderer/views/app/components/App/hypothesis_client/sidebar/components/HypothesisApp.js 175:4 [0] Module parse failed: Unexpected token (175:4) [0] File was processed with these loaders: [0] * ./node_modules/@pmmmwh/react-refresh-webpack-plugin/loader/index.js [0]...
currently this lib blocks the update to type-fest v3.0.0
 this is webpack.config : ```ts import ReactRefreshWebpackPlugin from "@pmmmwh/react-refresh-webpack-plugin"; import HtmlWebpackPlugin from "html-webpack-plugin"; import theme from "./theme"; import { WebpackConfigType } from "./webpack"; const esbuild = require("esbuild"); const fs...
After investigating some performance issues that only appear when enabling this plugin, I discovered that the `require.resolve('react-refresh')` which gets called in `injectRefreshLoader` seems to be the cause. Moving the call...
I am trying to use watch expressions in Chrome devtools on an app that is using this react refresh plugin. If the expression that I am watching returns `undefined` then...
I have project running on https://mediadl.test and webpack dev server running on port 8080 (I don't specify port, it's automatically selected). The project is serving HTML template which contains script...