Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Introduce feature flags #1631

Merged
merged 24 commits into from
Jan 31, 2020
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ tests/cli/vendor
bin/languages
woocommerce-gutenberg-products-block.zip
storybook-static/
blocks.ini
4 changes: 2 additions & 2 deletions bin/webpack-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const experimentalMainEntry = {
const mainEntry =
process.env.WOOCOMMERCE_BLOCKS_PHASE === 'experimental'
? { ...stableMainEntry, ...experimentalMainEntry }
: { ...stableMainEntry };
: stableMainEntry;

const stableFrontEndEntry = {
reviews: './assets/js/blocks/reviews/frontend.js',
Expand All @@ -155,7 +155,7 @@ const experimentalFrontEndEntry = {
const frontEndEntry =
process.env.WOOCOMMERCE_BLOCKS_PHASE === 'experimental'
? { ...stableFrontEndEntry, ...experimentalFrontEndEntry }
: { ...stableFrontEndEntry };
: stableFrontEndEntry;

const getEntryConfig = ( main = true, exclude = [] ) => {
const entryConfig = main ? mainEntry : frontEndEntry;
Expand Down
1 change: 0 additions & 1 deletion blocks.ini

This file was deleted.

Loading