@next/react-refresh-utils 11.1.3-canary.99 → 11.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,6 +71,7 @@ function webpack5(compiler) {
71
71
  super('react refresh', 5);
72
72
  }
73
73
  generate() {
74
+ // @ts-ignore This exists in webpack 5
74
75
  const { runtimeTemplate } = this.compilation;
75
76
  return Template.asString([
76
77
  `if (${RuntimeGlobals.interceptModuleExecution}) {`,
package/loader.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import type { LoaderDefinition } from 'webpack';
2
- declare const ReactRefreshLoader: LoaderDefinition;
1
+ import { loader } from 'webpack';
2
+ declare const ReactRefreshLoader: loader.Loader;
3
3
  export default ReactRefreshLoader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/react-refresh-utils",
3
- "version": "11.1.3-canary.99",
3
+ "version": "11.1.3",
4
4
  "description": "An experimental package providing utilities for React Refresh.",
5
5
  "repository": {
6
6
  "url": "vercel/next.js",
@@ -30,5 +30,5 @@
30
30
  "devDependencies": {
31
31
  "react-refresh": "0.8.3"
32
32
  },
33
- "gitHead": "1e82a3f2ecfe9993b7c365194c3b3d7e5bdcf0e5"
33
+ "gitHead": "ec1a0f7643172e5beba96e7be7d000471813cf69"
34
34
  }