From 84fffea3212510a7b0b1d33b8dad4a9660675c8b Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 28 May 2023 19:15:44 +0100 Subject: Remove mention of polyfills in README --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d188c0f..4e8486b 100644 --- a/README.md +++ b/README.md @@ -119,17 +119,12 @@ For instance: ### Library -In node.js, mammoth can be required in the usual way: +In node.js and the browser, mammoth can be required in the usual way: ```javascript var mammoth = require("mammoth"); ``` -This also works in the browser if node.js core modules -such as `Buffer` and `Stream`, are polyfilled. -Some bundlers, such as Webpack before version 5, will automatically polyfill these modules, -while others, such as Webpack from version 5, require the polyfills to be explicitly configured. - Alternatively, you may use the standalone JavaScript file `mammoth.browser.js`, which includes both mammoth and its dependencies. This uses any loaded module system. -- cgit v1.2.3