From 94acd3aabb11bceac4e698d4f9963f56429f35f0 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Thu, 14 Apr 2022 09:37:00 -0500 Subject: [PATCH] Update to target es5 for use-subscription --- packages/next/taskfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/next/taskfile.js b/packages/next/taskfile.js index c9064ba074d3..64406648313c 100644 --- a/packages/next/taskfile.js +++ b/packages/next/taskfile.js @@ -313,6 +313,7 @@ export async function ncc_use_subscription(task, opts) { react: 'react', 'react-dom': 'react-dom', }, + target: 'es5', }) .target('compiled/use-subscription') }