Skip to content

fix(wxt): resolve user modules relative to project root - #2768

Open
rxliuli wants to merge 5 commits into
wxt-dev:mainfrom
rxliuli:fix/resolve-user-modules-from-root
Open

rxliuli wants to merge 5 commits into
wxt-dev:mainfrom
rxliuli:fix/resolve-user-modules-from-root

Conversation

@rxliuli

@rxliuli rxliuli commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Overview

Fix the module resolution error in monorepo, which is a regression caused by the previous two PRs, see #2767

Manual Testing

pnpm i && pnpm repro

Related Issue

#2767

This PR closes #2767

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2943c722-7029-4fcb-ae48-aa27ba167a7b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@netlify

netlify Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for creative-fairy-df92c4 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6f8d3fd
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6b072b312f176eb0b7a8126f
😎 Deploy Preview https://deploy-preview-2768--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the pkg/wxt Includes changes to the `packages/wxt` directory label Nov 19, 2026
@pkg-pr-new

pkg-pr-new Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@wxt-dev/analytics

npm i https://pkg.pr.new/@wxt-dev/analytics@2768

@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@2768

@wxt-dev/browser

npm i https://pkg.pr.new/@wxt-dev/browser@2768

@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@2768

@wxt-dev/is-background

npm i https://pkg.pr.new/@wxt-dev/is-background@2768

@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@2768

@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@2768

@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@2768

@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@2768

@wxt-dev/runner

npm i https://pkg.pr.new/@wxt-dev/runner@2768

@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@2768

@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@2768

@wxt-dev/webextension-polyfill

npm i https://pkg.pr.new/@wxt-dev/webextension-polyfill@2768

wxt

npm i https://pkg.pr.new/wxt@2768

commit: 635ef1c

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg/wxt Includes changes to the `packages/wxt` directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

resolveWxtUserModules resolves npm modules from wxt's own path instead of project root (regression from #2526 / #2607)

2 participants