Skip to content

Commit

Permalink
Update packages/scripts/config/webpack.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Apr 27, 2023
1 parent 7e15b3b commit 70ae293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const config = {
plugins: [
new DefinePlugin( {
// Inject the `SCRIPT_DEBUG` global, used for development features flagging.
SCRIPT_DEBUG: mode === 'development',
SCRIPT_DEBUG: ! isProduction,
} ),
// During rebuilds, all webpack assets that are not used anymore will be
// removed automatically. There is an exception added in watch mode for
Expand Down

0 comments on commit 70ae293

Please sign in to comment.