Skip to content

Commit

Permalink
docs: Update ESM content script docs with example
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Aug 16, 2024
1 parent a1fc19e commit 8675abf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/guide/go-further/es-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ Only MV3 support ESM background scripts/service workers. When targeting MV2, the

## Content Scripts

Coming soon. Follow [Content Script ESM Support #357](https://github.com/wxt-dev/wxt/issues/357) for updates.
WXT does not include built-in support for ESM content scripts. There are several technical issues that make implementing a generic solution impossible. See [Content Script ESM Support #357](https://github.com/wxt-dev/wxt/issues/357) for details.

Instead, depending on your requirements, you can implement ESM support manually. See the [ESM Content Script UI](https://github.com/wxt-dev/examples/tree/main/examples/esm-content-script-ui) example to get started.

0 comments on commit 8675abf

Please sign in to comment.