@rspack/plugin-react-refresh 1.2.1 → 1.2.2
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.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -7,7 +7,6 @@ const options_1 = require("./options");
|
|
7
7
|
const paths_1 = require("./paths");
|
8
8
|
const getAdditionalEntries_1 = require("./utils/getAdditionalEntries");
|
9
9
|
const getSocketIntegration_1 = require("./utils/getSocketIntegration");
|
10
|
-
const core_1 = require("@rspack/core");
|
11
10
|
const getIntegrationEntry_1 = require("./utils/getIntegrationEntry");
|
12
11
|
function addEntry(entry, compiler) {
|
13
12
|
new compiler.webpack.EntryPlugin(compiler.context, entry, {
|
@@ -97,7 +96,7 @@ class ReactRefreshRspackPlugin {
|
|
97
96
|
};
|
98
97
|
compiler.hooks.compilation.tap(PLUGIN_NAME, (compilation) => {
|
99
98
|
compilation.hooks.additionalTreeRuntimeRequirements.tap(PLUGIN_NAME, (_, runtimeRequirements) => {
|
100
|
-
runtimeRequirements.add(
|
99
|
+
runtimeRequirements.add(compiler.rspack.RuntimeGlobals.moduleCache);
|
101
100
|
});
|
102
101
|
});
|
103
102
|
}
|
package/package.json
CHANGED