@atlaspack/feature-flags 2.14.3 → 2.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/lib/index.js +1 -0
- package/lib/types.d.ts +5 -0
- package/package.json +1 -1
- package/src/index.js +1 -0
- package/src/types.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaspack/feature-flags
|
|
2
2
|
|
|
3
|
+
## 2.14.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#542](https://github.com/atlassian-labs/atlaspack/pull/542) [`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09) Thanks [@yamadapc](https://github.com/yamadapc)! - Add feature-flagged option to use rayon thread-pool to optimize inline requires
|
|
8
|
+
|
|
3
9
|
## 2.14.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/lib/index.js
CHANGED
|
@@ -18,6 +18,7 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
|
|
|
18
18
|
importRetry: false,
|
|
19
19
|
fixQuadraticCacheInvalidation: 'OLD',
|
|
20
20
|
conditionalBundlingApi: false,
|
|
21
|
+
inlineRequiresMultiThreading: false,
|
|
21
22
|
vcsMode: 'OLD',
|
|
22
23
|
loadableSideEffects: false,
|
|
23
24
|
reduceResolverStringCreation: false,
|
package/lib/types.d.ts
CHANGED
|
@@ -30,6 +30,11 @@ export type FeatureFlags = {
|
|
|
30
30
|
*/
|
|
31
31
|
conditionalBundlingApi: boolean;
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Run inline requires optimizer in the rayon thread pool.
|
|
35
|
+
*/
|
|
36
|
+
inlineRequiresMultiThreading: boolean;
|
|
37
|
+
|
|
33
38
|
/**
|
|
34
39
|
* Enable VCS mode. Expected values are:
|
|
35
40
|
* - OLD - default value, return watchman result
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -13,6 +13,7 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
|
|
|
13
13
|
importRetry: false,
|
|
14
14
|
fixQuadraticCacheInvalidation: 'OLD',
|
|
15
15
|
conditionalBundlingApi: false,
|
|
16
|
+
inlineRequiresMultiThreading: false,
|
|
16
17
|
vcsMode: 'OLD',
|
|
17
18
|
loadableSideEffects: false,
|
|
18
19
|
reduceResolverStringCreation: false,
|
package/src/types.js
CHANGED
|
@@ -26,6 +26,10 @@ export type FeatureFlags = {|
|
|
|
26
26
|
* and requires server-side support.
|
|
27
27
|
*/
|
|
28
28
|
conditionalBundlingApi: boolean,
|
|
29
|
+
/**
|
|
30
|
+
* Run inline requires optimizer in the rayon thread pool.
|
|
31
|
+
*/
|
|
32
|
+
inlineRequiresMultiThreading: boolean,
|
|
29
33
|
/**
|
|
30
34
|
* Enable VCS mode. Expected values are:
|
|
31
35
|
* - OLD - default value, return watchman result
|