Make WordPress Core

Changeset 53262


Ignore:
Timestamp:
04/25/2022 05:01:40 PM (2 years ago)
Author:
gziolo
Message:

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].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/webpack/blocks.js

    r53219 r53262  
    159159        plugins: [
    160160            new DefinePlugin( {
    161                 // Inject the `GUTENBERG_PHASE` global, used for feature flagging.
    162                 'process.env.GUTENBERG_PHASE': 1,
     161                // Inject the `IS_GUTENBERG_PLUGIN` global, used for feature flagging.
     162                'process.env.IS_GUTENBERG_PLUGIN': false,
    163163                'process.env.FORCE_REDUCED_MOTION': JSON.stringify(
    164164                    process.env.FORCE_REDUCED_MOTION
Note: See TracChangeset for help on using the changeset viewer.