From 7e9aeb991d5938bf40031c043abcdb7a648faef9 Mon Sep 17 00:00:00 2001 From: atanasster Date: Mon, 16 Nov 2020 01:46:39 -0500 Subject: [PATCH] fix: remove useBuiltIns for nextjs --- core/webpack-configs/src/react/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/webpack-configs/src/react/index.ts b/core/webpack-configs/src/react/index.ts index a4cce6d66..f068f79ea 100644 --- a/core/webpack-configs/src/react/index.ts +++ b/core/webpack-configs/src/react/index.ts @@ -52,7 +52,6 @@ export const react: PresetType = (options: BuildProps) => { node: 'current', }, modules: 'commonjs', - useBuiltIns: 'usage', corejs: 3, }, ], @@ -88,7 +87,6 @@ export const react: PresetType = (options: BuildProps) => { node: 'current', }, modules: 'commonjs', - useBuiltIns: 'usage', corejs: 3, }, ],