From f4f81f09081869a7eed600422ed72afa95d18fd1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 15 Apr 2025 12:46:51 +0000 Subject: [PATCH 1/2] release v1.2.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 63cf8d3..06c37a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rspack/plugin-react-refresh", - "version": "1.2.0", + "version": "1.2.1", "repository": "https://github.com/rspack-contrib/rspack-plugin-react-refresh", "license": "MIT", "description": "React refresh plugin for rspack", From 8d50992df3bf125a7a91890d7f8040b8c91b6165 Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 21 Apr 2025 10:35:57 +0800 Subject: [PATCH 2/2] fix: failed to resolve phantom dependency (#25) --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index b6f0f92..913fb7a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,7 @@ import { getSocketIntegration, } from './utils/getSocketIntegration'; -import { type Compiler, RuntimeGlobals } from '@rspack/core'; +import type { Compiler } from '@rspack/core'; import type { NormalizedPluginOptions, PluginOptions } from './options'; import { getIntegrationEntry } from './utils/getIntegrationEntry'; @@ -133,7 +133,7 @@ class ReactRefreshRspackPlugin { compilation.hooks.additionalTreeRuntimeRequirements.tap( PLUGIN_NAME, (_, runtimeRequirements) => { - runtimeRequirements.add(RuntimeGlobals.moduleCache); + runtimeRequirements.add(compiler.rspack.RuntimeGlobals.moduleCache); }, ); }); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy