Skip to content

Commit

Permalink
Disable experiments reregistration in webpack build
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Feb 23, 2023
1 parent 31e3936 commit f80dfdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/webpack/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ module.exports = function( env = { environment: 'production', watch: false, buil
new DefinePlugin( {
// Inject the `IS_GUTENBERG_PLUGIN` global, used for feature flagging.
'process.env.IS_GUTENBERG_PLUGIN': false,
// Disable re-registration of private APIs.
'process.env.ALLOW_EXPERIMENT_REREGISTRATION': false,
'process.env.FORCE_REDUCED_MOTION': JSON.stringify(
process.env.FORCE_REDUCED_MOTION
),
Expand Down

0 comments on commit f80dfdf

Please sign in to comment.