interface icon indicating copy to clipboard operation
interface copied to clipboard

[Bug] Build fails in @uniswap/extension due to vite transform error

Open bingcicle opened this issue 3 months ago • 0 comments

While running the prepare script, the build for @uniswap/extension fails with a Vite transform error.

The logs show:

Recommendation to switch from @vitejs/plugin-react-babel to @vitejs/plugin-react-oxc

oxc transform error triggered at replaceDefine inside vite

Command fails after a few seconds and exits with code 1

As a result, dependent tasks like @universe/api:prepare and @universe/api:tradingapi:generate are also skipped or fail with exit code 130

So far, the error seems specific to the extension build step and blocks downstream tasks.

bingcicle avatar Sep 30 '25 07:09 bingcicle