mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Build: Update the constant used to remove experimental Gutenberg code
We missed the change for blocks that got applied to packages. `process.env.GUTENBERG_PHASE` got renamed to `process.env.IS_GUTENBERG_PLUGIN`. See #55567. Follow-up for [53157]. git-svn-id: https://develop.svn.wordpress.org/trunk@53262 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3cc94be23b
commit
eb0d801267
@ -158,8 +158,8 @@ module.exports = function( env = { environment: 'production', watch: false, buil
|
||||
},
|
||||
plugins: [
|
||||
new DefinePlugin( {
|
||||
// Inject the `GUTENBERG_PHASE` global, used for feature flagging.
|
||||
'process.env.GUTENBERG_PHASE': 1,
|
||||
// Inject the `IS_GUTENBERG_PLUGIN` global, used for feature flagging.
|
||||
'process.env.IS_GUTENBERG_PLUGIN': false,
|
||||
'process.env.FORCE_REDUCED_MOTION': JSON.stringify(
|
||||
process.env.FORCE_REDUCED_MOTION
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user