From 85f598a4860d0f715e0535c9532bbfbfbf21ea48 Mon Sep 17 00:00:00 2001
From: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
Date: Mon, 6 Oct 2025 20:01:05 +0900
Subject: [PATCH] test(react): inject exports later case
---
playground/react/App.jsx | 2 ++
playground/react/hmr/inject-exports-later.jsx | 3 +++
playground/react/vite.config.ts | 13 ++++++++++++-
3 files changed, 17 insertions(+), 1 deletion(-)
create mode 100644 playground/react/hmr/inject-exports-later.jsx
diff --git a/playground/react/App.jsx b/playground/react/App.jsx
index 3b494d656..b2e66b30d 100644
--- a/playground/react/App.jsx
+++ b/playground/react/App.jsx
@@ -3,6 +3,7 @@ import Button from 'jsx-entry'
import WithQuery from './components/WithQuery?qs-should-not-break-plugin-react'
import { Accordion } from './components/Accordion'
import Parent from './hmr/parent'
+import InjectExportsLater from './hmr/inject-exports-later'
import { JsxImportRuntime } from './hmr/jsx-import-runtime'
import { CountProvider } from './context/CountProvider'
import { ContextButton } from './context/ContextButton'
@@ -45,6 +46,7 @@ function App() {