mirror of
https://github.com/status-im/metro.git
synced 2025-03-03 12:10:30 +00:00
metro-bundler: hash enableBabelRCLookup in global cache
Reviewed By: mjesun Differential Revision: D5502800 fbshipit-source-id: f6cb01e57a3a385c256f1e77420ca670fe77e5de
This commit is contained in:
parent
c37f730c57
commit
1a75751a3b
@ -426,6 +426,7 @@ class OptionsHasher {
|
|||||||
options: TransformOptionsStrict,
|
options: TransformOptionsStrict,
|
||||||
): crypto$Hash {
|
): crypto$Hash {
|
||||||
const {
|
const {
|
||||||
|
enableBabelRCLookup,
|
||||||
generateSourceMaps,
|
generateSourceMaps,
|
||||||
dev,
|
dev,
|
||||||
hot,
|
hot,
|
||||||
@ -451,7 +452,9 @@ class OptionsHasher {
|
|||||||
// eslint-disable-next-line no-bitwise
|
// eslint-disable-next-line no-bitwise
|
||||||
(+hot << 2) |
|
(+hot << 2) |
|
||||||
// eslint-disable-next-line no-bitwise
|
// eslint-disable-next-line no-bitwise
|
||||||
(+!!inlineRequires << 3),
|
(+!!inlineRequires << 3) |
|
||||||
|
// eslint-disable-next-line no-bitwise
|
||||||
|
(+enableBabelRCLookup << 4),
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
hash.update(JSON.stringify(platform));
|
hash.update(JSON.stringify(platform));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user