Skip to content

@vitejs/plugin-react 5.0.3 breaks wyw-in-js #150

@dominictobias-bullish

Description

@dominictobias-bullish

Environment

  • wyw-in-js version: "@wyw-in-js/vite": "^0.7.0"
  • custom processor:
  • Bundler (+ version): Vite 7.1.6
  • Node.js version: v24.5.0
  • OS: MacOS

Description

"@vitejs/plugin-react": "5.0.2" works
"@vitejs/plugin-react": "5.0.3" causes a bunch of errors:

[vite] (client) Pre-transform error: ENOENT: no such file or directory, open '/@react-refresh'
  Plugin: wyw-in-js
  File: <redacted>/src/composites/MyBalance/MyBalance.tsx
11:36:51 am [vite] (client) Pre-transform error: ENOENT: no such file or directory, open '/@react-refresh'
  Plugin: wyw-in-js
  File: <redacted>/src/composites/SimpleTradeTables/SimpleTradeTables.tsx
11:36:51 am [vite] (client) Pre-transform error: ENOENT: no such file or directory, open '/@react-refresh'
  Plugin: wyw-in-js
  File: <redacted>/src/icons/ChevronDownIcon.tsx
11:36:51 am [vite] (client) Pre-transform error: ENOENT: no such file or directory, open '/@react-refresh'
  Plugin: wyw-in-js
  File: <redacted>/src/composites/QuickTrade/QuickTrade.tsx
11:36:51 am [vite] (client) Pre-transform error: ENOENT: no such file or directory, open '/@react-refresh'
  Plugin: wyw-in-js
  File: <redacted>/src/icons/currency/assets.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug report 🦗Issue is probably a bug, but it needs to be checkedneeds: complete repro 🖥️Issue need to have complete repro provided

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions