Skip to content

Commit

Permalink
chore: change comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jpina1-godaddy committed Jan 14, 2025
1 parent 6710a41 commit f5c389c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gasket-plugin-analyze/lib/webpack-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit f5c389c

Please sign in to comment.