From 0b93cdfa41c7aeda629c42d82bd482695bc7c243 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Sun, 25 Aug 2024 09:53:50 +0530 Subject: [PATCH] docs(configuration): add `output.environment.document` --- src/content/configuration/output.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/configuration/output.mdx b/src/content/configuration/output.mdx index 39156c000978..fb6a90953dbe 100644 --- a/src/content/configuration/output.mdx +++ b/src/content/configuration/output.mdx @@ -488,6 +488,8 @@ module.exports = { const: true, // The environment supports destructuring ('{ a, b } = obj'). destructuring: true, + // The environment supports 'document' variable. + document: true, // The environment supports an async import() function to import EcmaScript modules. dynamicImport: false, // The environment supports an async import() when creating a worker, only for web targets at the moment.