From 3140f80c104ce6371bc0a97a7f5320175cd17cab Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Wed, 27 Dec 2023 01:46:55 -0600 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 804d4726..dcaa22ac 100644 --- a/README.md +++ b/README.md @@ -83,9 +83,8 @@ import { Sern, single } from '@sern/handler'; //client has been declared previously //Version 3 -await makeDependencies({ - build: root => root - .add({ '@sern/client': single(() => client) }) +await makeDependencies(({ add }) => { + .add('@sern/client', single(() => client) ) }); //View docs for all options