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
https://vite.dev/guide/assets
This seems to be a WXT documentation error, as as far as I know Vite does not support automatic bundling of assets in <img src="...">.
Describe the bug
In the documentation, it is said that assets can be imported using a path relative to the source root.
In practice, this is not possible.
Reproduction
repro.zip
Steps to reproduce
to recreate attached repro:
pnpm dlx wxt@latest init
vanilla
andpnpm
pnpm install
entrypoints/popup/index.html
to set the following as thebody
content:to observe the issue:
pnpm install
pnpm run dev
System Info
System: OS: Linux 6.6 cpe:/o:nixos:nixos:24.11 24.11 (Vicuna) CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-1260P Memory: 2.53 GB / 15.35 GB Container: Yes Shell: 5.2.37 - /nix/store/x9d49vaqlrkw97p9ichdwrnbh013kq7z-bash-interactive-5.2p37/bin/bash Binaries: Node: 23.6.0 - /nix/store/k5zdfljc7gahmdpjjq1y9x8hqs9hxn4g-nodejs-23.6.0/bin/node npm: 10.9.2 - /nix/store/k5zdfljc7gahmdpjjq1y9x8hqs9hxn4g-nodejs-23.6.0/bin/npm pnpm: 9.15.3 - /nix/store/aik0qrmx9wxy1q480lfwqv1wqsrhcsl8-pnpm-9.15.3/bin/pnpm Browsers: Chromium: 132.0.6834.110 npmPackages: wxt: ^0.19.13 => 0.19.27
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: