Fixes
-
Improved UI page entrypoint detection: Single-file JS/TS entrypoints (e.g.,
popup.ts) are now correctly treated asunlisted-scripttype, not UI pages. Only directory-based UI entrypoints (e.g.,popup/main.tsx) are skipped for console forwarding injection. -
Custom entrypointsDir support: Now uses
wxt.config.entrypointsDirinstead of hardcoding/entrypoints/path, supporting projects with custom entrypoint directory locations. -
Additional CSS extensions: Added support for
sass,styl, andstylusfile extensions when extracting entrypoint directory names. -
Windows path support: Normalized backslash handling for Windows-style paths.
Internal
- Renamed Playwright test files to
.pw.tsto avoid conflicts with Bun test runner - Added comprehensive unit tests for entrypoint detection logic (72 tests)