Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 083792b5f0 | |||
| 3da3e07bda | |||
| 64d61eb3f1 |
+10
-2
@@ -1,5 +1,13 @@
|
||||
# Changelog
|
||||
|
||||
## v0.10.1
|
||||
|
||||
[compare changes](https://github.com/wxt-dev/wxt/compare/v0.10.0...v0.10.1)
|
||||
|
||||
### 🩹 Fixes
|
||||
|
||||
- Remove WXT global to remove unused modules from production builds ([3da3e07](https://github.com/wxt-dev/wxt/commit/3da3e07))
|
||||
|
||||
## v0.10.0
|
||||
|
||||
[compare changes](https://github.com/wxt-dev/wxt/compare/v0.9.2...v0.10.0)
|
||||
@@ -20,11 +28,11 @@
|
||||
|
||||
#### ⚠️ Breaking Changes
|
||||
|
||||
- ⚠️ Allow plural directory and only png's for manifest icons ([#237](https://github.com/wxt-dev/wxt/pull/237))
|
||||
- ⚠️ No longer discover icons with extensions other than `.png`. If you previously used `.jpg`, `.jpeg`, `.bmp`, or `.svg`, you'll need to convert your icons to `.png` files or manually add them to the manifest inside your `wxt.config.ts` file ([#237](https://github.com/wxt-dev/wxt/pull/237))
|
||||
|
||||
### ❤️ Contributors
|
||||
|
||||
- Nenad Novaković
|
||||
- Nenad Novaković ([@dvlden](https://github.com/dvlden))
|
||||
|
||||
## v0.9.2
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "wxt",
|
||||
"type": "module",
|
||||
"version": "0.10.0",
|
||||
"version": "0.10.1",
|
||||
"description": "Next gen framework for developing web extensions",
|
||||
"engines": {
|
||||
"node": ">=18",
|
||||
|
||||
@@ -2,7 +2,6 @@ import definition from 'virtual:user-background';
|
||||
import { setupWebSocket } from '../client/utils/setup-web-socket';
|
||||
import { logger } from '../client/utils/logger';
|
||||
import browser from 'webextension-polyfill';
|
||||
import { storage } from '~/storage';
|
||||
import { keepServiceWorkerAlive } from '../client/utils/keep-service-worker-alive';
|
||||
import { reloadContentScript } from '../client/utils/reload-content-scripts';
|
||||
|
||||
@@ -30,14 +29,6 @@ if (__COMMAND__ === 'serve') {
|
||||
}
|
||||
|
||||
try {
|
||||
// Add utils to global scope so they're accessible from the console during development
|
||||
if (import.meta.env.DEV) {
|
||||
// @ts-expect-error: Untyped global
|
||||
globalThis.wxt = {
|
||||
storage,
|
||||
};
|
||||
}
|
||||
|
||||
const res = definition.main();
|
||||
// @ts-expect-error: res shouldn't be a promise, but we're checking it anyways
|
||||
if (res instanceof Promise) {
|
||||
|
||||
Reference in New Issue
Block a user