You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug that causes wxt.config modified via hook to be reset. I'm modifying the outDir, but the path is broken. The path is correct at startup dev, but the reset when the HMR reloads. This is causing content-script to not reload.
Duplicate of #857. Keep this open because I like your description more. Need to think more of how exactly to solve this problem. Maybe add a new hook and make people modify config in that hook instead.
Describe the bug
There is a bug that causes
wxt.config
modified via hook to be reset. I'm modifying theoutDir
, but the path is broken. The path is correct at startup dev, but the reset when the HMR reloads. This is causing content-script to not reload.It can be reproduced with the example of separating outDir from dev and prod written in docs - https://wxt.dev/guide/go-further/reusable-modules.html#actually-doing-something.
This is similar to this #863 . Perhaps the cause may be the same.
Reproduction
main...1natsu172:repro-weired-ourDir-path
Steps to reproduce
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: