diff --git a/.gitignore b/.gitignore index 9d27c3e5..7a381633 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,9 @@ benchmark/sandbox.ts # v8 profiler logs isolate-*.log +# tsimp +.tsimp/ + # deno deno.lock diff --git a/README.md b/README.md index 10b2f1fa..3a29b4bc 100644 --- a/README.md +++ b/README.md @@ -632,11 +632,11 @@ Note that `JSON` cases use `Buffer` to emulate I/O where a JavaScript string mus The NPM package distributed in npmjs.com includes both ES2015+ and ES5 files: -* `dist/` is compiled into ES2019 with CommomJS, provided for NodeJS v10 -* `dist.es5+umd/` is compiled into ES5 with UMD - * `dist.es5+umd/msgpack.min.js` - the minified file - * `dist.es5+umd/msgpack.js` - the non-minified file -* `dist.es5+esm/` is compiled into ES5 with ES modules, provided for webpack-like bundlers and NodeJS's ESM-mode +* `dist/` is compiled into ES2020 with CommomJS, provided for NodeJS v10 +* `dist.umd/` is compiled into ES5 with UMD + * `dist.umd/msgpack.min.js` - the minified file + * `dist.umd/msgpack.js` - the non-minified file +* `dist.esm/` is compiled into ES2020 with ES modules, provided for webpack-like bundlers and NodeJS's ESM-mode If you use NodeJS and/or webpack, their module resolvers use the suitable one automatically. diff --git a/example/fetch-example.html b/example/fetch-example.html index 58f66def..d59c2503 100644 --- a/example/fetch-example.html +++ b/example/fetch-example.html @@ -3,7 +3,7 @@
- +