From ef1092524b46c85bc5f02f1c087cd6ef72ab56ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Fri, 31 Mar 2023 01:12:45 +0900 Subject: [PATCH] chore: remove `esbuild.logOverride['this-is-undefined-in-esm']` (#134) --- packages/plugin-react/src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/plugin-react/src/index.ts b/packages/plugin-react/src/index.ts index c8e5f26..98b781e 100644 --- a/packages/plugin-react/src/index.ts +++ b/packages/plugin-react/src/index.ts @@ -116,9 +116,6 @@ export default function viteReact(opts: Options = {}): PluginOption[] { if (opts.jsxRuntime === 'classic') { return { esbuild: { - logOverride: { - 'this-is-undefined-in-esm': 'silent', - }, jsx: 'transform', jsxImportSource: opts.jsxImportSource, },