From 72d0a7ff9cb795bac8252f22d0fe8b80aebd5b51 Mon Sep 17 00:00:00 2001 From: Peter Piekarczyk Date: Mon, 17 Jan 2022 13:44:25 -0600 Subject: [PATCH] updates readme --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c44985c..6d841f1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Expo Crypto Polyfills -Use this to polyfill crypto-related libraries without having to eject from Expo. +Use this to polyfill crypto-related libraries without having to eject from Expo. The goal of this library is to continue to work across all Expo-supported ecosystems (ios,android,web) ## Example @@ -12,10 +12,9 @@ In your Expo project, create a metro.config.js file, then set extraNodeModules t ```js // metro.config.js -const extraNodeModules = require("expo-crypto-polyfills"); module.exports = { resolver: { - extraNodeModules, + extraNodeModules: require("expo-crypto-polyfills"), }, }; ```