From f5c389cfa5f4887a35c443d8433c25d3b9996280 Mon Sep 17 00:00:00 2001 From: jpina1 Date: Mon, 13 Jan 2025 16:49:35 -0800 Subject: [PATCH] chore: change comment --- packages/gasket-plugin-analyze/lib/webpack-config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gasket-plugin-analyze/lib/webpack-config.js b/packages/gasket-plugin-analyze/lib/webpack-config.js index 3fdeef9b8..b828373e4 100644 --- a/packages/gasket-plugin-analyze/lib/webpack-config.js +++ b/packages/gasket-plugin-analyze/lib/webpack-config.js @@ -12,8 +12,8 @@ module.exports = function webpackConfigHook(gasket, webpackConfig, context) { if (process.env.ANALYZE === 'true') { console.warn("Deprecation Warning: Using 'true' for the ANALYZE environment variable is deprecated. Please use '1' instead."); } - - // Only add the analyzer plugin if ANALYZE flag is true + // Run the analyzer plugin if the ANALYZE flag is true or 1 + // @deprecated: 'true' will be removed in a future release if (process.env.ANALYZE === 'true' || process.env.ANALYZE === '1') { const merge = require('deepmerge'); const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');