Skip to content

Commit

Permalink
Update changelog with breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Dec 13, 2023
1 parent 63f507e commit 7b2563b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@

#### ⚠️ Breaking Changes

- ⚠️ Add support for "main world" content scripts ([#284](https://github.com/wxt-dev/wxt/pull/284))
`defineContentScript` and `defineBackground` are now exported from `wxt/sandbox` instead of `wxt/client`. ([#284](https://github.com/wxt-dev/wxt/pull/284))

- If you use auto-imports, no changes are required.
- If you have disabled auto-imports, you'll need to manually update your import statements:
```diff
- import { defineBackground, defineContentScript } from 'wxt/client';
+ import { defineBackground, defineContentScript } from 'wxt/sandbox';
```

## v0.11.2

Expand Down

0 comments on commit 7b2563b

Please sign in to comment.