From d62755a533920a95693edb4056fd24b8f299fd5e Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Wed, 3 May 2023 18:20:43 +0200 Subject: [PATCH] Update compilation target of @next/react-dev-overlay (#49153) Closes #48627. --- packages/next/taskfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/taskfile.js b/packages/next/taskfile.js index 831da5c86e1f4..aaefee16ac947 100644 --- a/packages/next/taskfile.js +++ b/packages/next/taskfile.js @@ -503,7 +503,7 @@ export async function ncc_next__react_dev_overlay(task, opts) { precompiled: false, packageName: '@next/react-dev-overlay', externals: overlayExternals, - target: 'es2018', + target: 'es5', }) .target('dist/compiled/@next/react-dev-overlay/dist')