@parcel/feature-flags 2.12.1-canary.3311 → 2.12.1-canary.3314

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.js CHANGED
@@ -10,7 +10,8 @@ exports.setFeatureFlags = setFeatureFlags;
10
10
  // but we want to export FeatureFlags for Flow
11
11
  const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
12
12
  exampleFeature: false,
13
- parcelV3: false
13
+ parcelV3: false,
14
+ importRetry: false
14
15
  };
15
16
  let featureFlagValues = {
16
17
  ...DEFAULT_FEATURE_FLAGS
package/lib/types.d.ts CHANGED
@@ -6,4 +6,9 @@ export type FeatureFlags = {
6
6
  * Rust backed requests
7
7
  */
8
8
  readonly parcelV3: boolean;
9
+
10
+ /**
11
+ * Configure runtime to enable retriable dynamic imports
12
+ */
13
+ importRetry: boolean;
9
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/feature-flags",
3
- "version": "2.12.1-canary.3311+ae9644820",
3
+ "version": "2.12.1-canary.3314+445b9bc0c",
4
4
  "description": "Provides internal feature-flags for the parcel codebase.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -24,5 +24,5 @@
24
24
  "engines": {
25
25
  "node": ">= 16.0.0"
26
26
  },
27
- "gitHead": "ae9644820b06cdbd7e6ffcfc18e4f25b6f14990a"
27
+ "gitHead": "445b9bc0ca57922a20977ee81b50e7a07e35b6ab"
28
28
  }
package/src/index.js CHANGED
@@ -8,6 +8,7 @@ export type FeatureFlags = _FeatureFlags;
8
8
  export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
9
9
  exampleFeature: false,
10
10
  parcelV3: false,
11
+ importRetry: false,
11
12
  };
12
13
 
13
14
  let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
package/src/types.js CHANGED
@@ -7,4 +7,8 @@ export type FeatureFlags = {|
7
7
  * Rust backed requests
8
8
  */
9
9
  +parcelV3: boolean,
10
+ /**
11
+ * Configure runtime to enable retriable dynamic imports
12
+ */
13
+ importRetry: boolean,
10
14
  |};