diff --git a/metro.config.js b/metro.config.js index 0dcb3191..d58031f7 100644 --- a/metro.config.js +++ b/metro.config.js @@ -130,7 +130,7 @@ if (process.env.NODE_ENV === "production") { .createHash("sha1") .update(path) .digest("hex") - .substr(0, 8); + .substring(0, 8); }; },