wxt-v0.20.1

wxt-dev/wxtwxt-v0.20.1Apr 14, 2025by github-actions[bot]

AI Summary

Enhances developer experience by supporting WXT inside devcontainers and improving type safety for browser environments, while fixing build and linting issues.

Key Highlights

  • Enables WXT usage inside devcontainers
  • Type-safe `import.meta.env.BROWSER` with `targetBrowsers` config
  • Improved type annotations for auto-imports
  • Dependency updates

New Features

  • Devcontainer support
  • Type-safe browser environment variables

Full Release Notes

[compare changes](https://github.com/wxt-dev/wxt/compare/wxt-v0.20.0...wxt-v0.20.1)

### 🚀 Enhancements

- Enable wxt usage inside of devcontainers ([#1406](https://github.com/wxt-dev/wxt/pull/1406))
- Type-safe `import.meta.env.BROWSER` with new `targetBrowsers` config ([#1574](https://github.com/wxt-dev/wxt/pull/1574))

### 🩹 Fixes

- Don't remove top-level destructured variable definitions when importing entrypoints ([#1561](https://github.com/wxt-dev/wxt/pull/1561))
- Add JSDoc type annotation to auto-imports for ESlint ([#1558](https://github.com/wxt-dev/wxt/pull/1558))

### 📖 Documentation

- Fix knowledge file generation ([#1550](https://github.com/wxt-dev/wxt/pull/1550))

### 🏡 Chore

- **deps:** Update all dependencies ([#1568](https://github.com/wxt-dev/wxt/pull/1568))
- Update comment ([61b42ef](https://github.com/wxt-dev/wxt/commit/61b42ef))

### ❤️ Contributors

- 7sDream ([@7sDream](https://github.com/7sDream))
- Aaron ([@aklinker1](https://github.com/aklinker1))
- Nostro ([@nostrorom](https://github.com/nostrorom))
- Khalil Yao ([@yyz945947732](https://github.com/yyz945947732))
- Alec WM ([@alecdwm](https://github.com/alecdwm))