diff --git a/esbuild.js b/esbuild.js index 4d50d5cc42..fd48c03b5a 100644 --- a/esbuild.js +++ b/esbuild.js @@ -93,9 +93,5 @@ require('esbuild').build({ ], define: { // we dont declare `global = window` as we want to control everything and notice it, when something is odd - - // handover the NODE_ENV to the to be bundled javascript - // used fx. in `react-dom/profiling.js` to check if we use minfied and treeshaked code in production - 'process.env.NODE_ENV': JSON.stringify(env.isProduction ? 'production' : undefined) } }) diff --git a/package.json b/package.json index 80bceb79c0..e0e8ece06f 100644 --- a/package.json +++ b/package.json @@ -42,10 +42,5 @@ "workspaces": [ "packages/*" ], - "packageManager": "yarn@3.2.0", - "browserslist": [ - "> 1%", - "last 2 versions", - "not dead" - ] + "packageManager": "yarn@3.2.0" }