Skip to content

Deprecated redirectUrl persists in production build output (v0.90.5, 0.89.5 and 0.88.0) #1327

@wendychowusgithub

Description

@wendychowusgithub

What happened?

Just an update on this issue:
I've tried downgrading Plasmo to versions 0.89.5 and 0.88.0. For each version, I performed the following steps:

  1. Stopped all servers.
  2. Removed the extension from Chrome.
  3. Deleted the build, .plasmo, and node_modules folders.
  4. Ran pnpm approve-builds (to ensure native module scripts run).
  5. Ran pnpm install.
  6. Ran pnpm build (without --no-cache this time, but also tested with it previously).
  7. Loaded the fresh build/chrome-mv3-prod folder.
    Unfortunately, the redirectUrl deprecation warning still appears in the popup console for both 0.89.5 and 0.88.0. I also confirmed by inspecting the generated build/chrome-mv3-prod/popup..js file that redirectUrl is still present numerous times in the output for these versions.
    This confirms the build issue isn't isolated to 0.90.5 and seems to persist in older versions as well. My source popup.tsx remains correct, using only .
    Thanks for looking into this!

Image

A bug happened!

Version

Canary

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Chrome

Relevant log output

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.

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