Skip to content

Commit c1a9c3b

Browse files
committed
clarifty the distribution
1 parent 7c957a0 commit c1a9c3b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -519,11 +519,11 @@ Note that `Buffer.from()` for `JSON.stringify()` is necessary to emulate I/O whe
519519

520520
The NPM package distributed in npmjs.com includes both ES2015+ and ES5 files:
521521

522-
* `dist/` is compiled into ES2015+, provided for NodeJS v10 or later
523-
* `dist.es5+umd/` is compiled into ES5 with UMD-style single file
524-
* `dist.es5+umd/msgpack.min.js` - the default, minified file (UMD)
525-
* `dist.es5+umd/msgpack.js` - an optional, non-minified file (UMD)
526-
* `dist.es5+esm/` is compiled into ES5 and placed as ES modules, provided for webpack-like bundlers, not NodeJS
522+
* `dist/` is compiled into ES2019 with CommomJS, provided for NodeJS v10
523+
* `dist.es5+umd/` is compiled into ES5 with UMD
524+
* `dist.es5+umd/msgpack.min.js` - the minified file
525+
* `dist.es5+umd/msgpack.js` - the non-minified file
526+
* `dist.es5+esm/` is compiled into ES5 with ES modules, provided for webpack-like bundlers and NodeJS's ESM-mode
527527

528528
If you use NodeJS and/or webpack, their module resolvers use the suitable one automatically.
529529

0 commit comments

Comments
 (0)