Skip to content

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

@bingcicle

Description

@bingcicle

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions