From 44fa85537ca99e43d70ea3dd5ac4ad94d92928ab Mon Sep 17 00:00:00 2001 From: lang <30033013+fbnoi@users.noreply.github.com> Date: Thu, 18 Jan 2024 18:52:50 +0800 Subject: [PATCH] Update web-workers.mdx Fix spelling error --- src/content/guides/web-workers.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/guides/web-workers.mdx b/src/content/guides/web-workers.mdx index 1327f7796cdf..cead1da9c46d 100644 --- a/src/content/guides/web-workers.mdx +++ b/src/content/guides/web-workers.mdx @@ -54,4 +54,4 @@ import { Worker } from 'worker_threads'; new Worker(new URL('./worker.js', import.meta.url)); ``` -请注意,这仅在 ESM 中可用。但不可用于 ComonnJS,无论 webpack 还是 Node.js 均是如此。 +请注意,这仅在 ESM 中可用。但不可用于 CommonJS,无论 webpack 还是 Node.js 均是如此。