From b79ce58afd06e21b024a8c83c6cb0b6299c5b001 Mon Sep 17 00:00:00 2001 From: Kiril Vatev Date: Wed, 29 Nov 2023 18:34:09 -0500 Subject: [PATCH] updating readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 655a931..b488f88 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ _Note that while the converter returns a Promise and is overall asynchronous, a ## Usage in the browser -While the NodeJS version of `heic-convert` may be compiled for use in the browser with something like `webpack`, [not all build tools necessarily like to compile all modules well](https://github.com/catdad-experiments/heic-convert/issues/29). However, what further complicates things is that this module uses pure-javascript implementations of a jpeg and png encoder. But the browser has its own native encoders! Let's just use those. +While the NodeJS version of `heic-convert` may be compiled for use in the browser with something like `webpack`, [not all build tools necessarily like to compile all modules well](https://github.com/catdad-experiments/heic-convert/issues/29). However, what further complicates things is that this module uses pure-javascript implementations of a jpeg and png encoder. But the browser has its own native encoders! Let's just use those instead of including a ton of extra code in your bundle. When compiling a client-side project, use: