From 8675abfcedc2032271a718775b6953ea935d4458 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 16 Aug 2024 09:33:57 -0500 Subject: [PATCH] docs: Update ESM content script docs with example --- docs/guide/go-further/es-modules.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/guide/go-further/es-modules.md b/docs/guide/go-further/es-modules.md index 2c8347ba8..ad9a859f2 100644 --- a/docs/guide/go-further/es-modules.md +++ b/docs/guide/go-further/es-modules.md @@ -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.