diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-05-28 19:15:44 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-05-28 19:15:44 +0100 |
| commit | 84fffea3212510a7b0b1d33b8dad4a9660675c8b (patch) | |
| tree | a157929c7899872275cc5a73c8b8d995d3749b59 /README.md | |
| parent | ad794b956a6c67e2e903d095a66455d512b004b7 (diff) | |
Remove mention of polyfills in README
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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. |
