Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add / to PublicPath and browser.runtime.getURL #1171

Merged
merged 6 commits into from
Nov 14, 2024

Conversation

nishu-murmu
Copy link
Contributor

@nishu-murmu nishu-murmu commented Nov 14, 2024

@aklinker1
Fixes #984
This seems to be working as you mentioned we need to change getPathsDeclarationEntry function only.
Do let me know your thoughts.

Copy link

netlify bot commented Nov 14, 2024

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 7638770
🔍 Latest deploy log https://app.netlify.com/sites/creative-fairy-df92c4/deploys/6735ad48f286d6000839b635
😎 Deploy Preview https://deploy-preview-1171--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

pkg-pr-new bot commented Nov 14, 2024

Open in Stackblitz

@wxt-dev/auto-icons

pnpm add https://pkg.pr.new/@wxt-dev/auto-icons@1171

@wxt-dev/i18n

pnpm add https://pkg.pr.new/@wxt-dev/i18n@1171

@wxt-dev/module-react

pnpm add https://pkg.pr.new/@wxt-dev/module-react@1171

@wxt-dev/module-solid

pnpm add https://pkg.pr.new/@wxt-dev/module-solid@1171

@wxt-dev/module-svelte

pnpm add https://pkg.pr.new/@wxt-dev/module-svelte@1171

@wxt-dev/module-vue

pnpm add https://pkg.pr.new/@wxt-dev/module-vue@1171

@wxt-dev/unocss

pnpm add https://pkg.pr.new/@wxt-dev/unocss@1171

wxt

pnpm add https://pkg.pr.new/wxt@1171

commit: 7638770

Copy link
Collaborator

@aklinker1 aklinker1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, looks good. Run tests and update the test snapshots so PR checks pass:

cd packages/wxt
pnpm test

Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.95%. Comparing base (c846a1f) to head (5c93301).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1171      +/-   ##
==========================================
+ Coverage   81.51%   81.95%   +0.44%     
==========================================
  Files         127      127              
  Lines        6546     6546              
  Branches     1148     1152       +4     
==========================================
+ Hits         5336     5365      +29     
+ Misses       1196     1167      -29     
  Partials       14       14              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nishu-murmu
Copy link
Contributor Author

@aklinker1 Done.

Copy link
Collaborator

@aklinker1 aklinker1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This might not be released for a little while, will go out in the next batch of changes. Until then, you can install it via: #1171 (comment)

@aklinker1 aklinker1 merged commit 064704c into wxt-dev:main Nov 14, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add / to PublicPath and browser.runtime.getURL
2 participants