UNPKG

webpack-dev-middleware

Version:
7 lines (6 loc) • 289 B
/** * Isolated so the HMR runtime can be stubbed in tests — `import.meta` cannot * be evaluated under jest's CommonJS transform. * @returns {webpack.Hot | undefined} the webpack HMR runtime API (`import.meta.webpackHot`) */ export default function getHot(): webpack.Hot | undefined;