UNPKG

react-refresh-webpack-plugin

Version:

An **EXPERIMENTAL** Webpack plugin to enable "Fast Refresh" (also previously known as _Hot Reloading_) for React components.

11 lines (9 loc) 269 B
/** * A React function component "mock" to detect react-refresh's Babel transform. * @return {string} The component's name. */ function BabelDetectComponent() { return 'BabelDetectComponent'; } // Call the function to prevent tree-shaking BabelDetectComponent();