From 9887a39e48c8a1350d1420a820eda1d9a3d331e9 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 7 Feb 2022 11:45:28 +0100 Subject: [PATCH] Remove unneeded var --- .eslintrc | 1 - tests/js/jest.config.js | 1 - webpack.config.cjs | 1 - 3 files changed, 3 deletions(-) diff --git a/.eslintrc b/.eslintrc index 709068754753..a1cd93350750 100644 --- a/.eslintrc +++ b/.eslintrc @@ -223,7 +223,6 @@ }, "globals": { "__webpack_public_path__": true, - "WEB_STORIES_CI": "readonly", "WEB_STORIES_DISABLE_ERROR_BOUNDARIES": "readonly", "WEB_STORIES_DISABLE_OPTIMIZED_RENDERING": "readonly", "WEB_STORIES_DISABLE_PREVENT": "readonly", diff --git a/tests/js/jest.config.js b/tests/js/jest.config.js index 1dd61a4c829f..f825f31d9eec 100644 --- a/tests/js/jest.config.js +++ b/tests/js/jest.config.js @@ -43,7 +43,6 @@ export default { '**/?(*.)test.[jt]s', ], globals: { - WEB_STORIES_CI: 'development', WEB_STORIES_ENV: 'development', WEB_STORIES_DISABLE_ERROR_BOUNDARIES: true, WEB_STORIES_DISABLE_OPTIMIZED_RENDERING: true, diff --git a/webpack.config.cjs b/webpack.config.cjs index 67e492172024..ae0fa813209a 100644 --- a/webpack.config.cjs +++ b/webpack.config.cjs @@ -219,7 +219,6 @@ const sharedConfig = { filename: `../css/[name]-rtl.css`, }), new webpack.DefinePlugin({ - WEB_STORIES_CI: JSON.stringify(process.env.CI), WEB_STORIES_ENV: JSON.stringify(process.env.NODE_ENV), WEB_STORIES_DISABLE_ERROR_BOUNDARIES: JSON.stringify( process.env.DISABLE_ERROR_BOUNDARIES