mirror of https://github.com/status-im/metro.git
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,
|
||||
): crypto$Hash {
|
||||
const {
|
||||
enableBabelRCLookup,
|
||||
generateSourceMaps,
|
||||
dev,
|
||||
hot,
|
||||
|
@ -451,7 +452,9 @@ class OptionsHasher {
|
|||
// eslint-disable-next-line no-bitwise
|
||||
(+hot << 2) |
|
||||
// eslint-disable-next-line no-bitwise
|
||||
(+!!inlineRequires << 3),
|
||||
(+!!inlineRequires << 3) |
|
||||
// eslint-disable-next-line no-bitwise
|
||||
(+enableBabelRCLookup << 4),
|
||||
]),
|
||||
);
|
||||
hash.update(JSON.stringify(platform));
|
||||
|
|
Loading…
Reference in New Issue