bfred-npm-bundler
Advanced tools
Comparing version 8.0.1 to 8.0.2
{ | ||
"name": "bfred-npm-bundler", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"description": "Opinionated ES6 library bundler based on rollup and buble", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -9,4 +9,6 @@ # bfred-npm-bundler | ||
* **dist/[lib-name].browser.js** | ||
A minified file for the browser with a global called `[libName]` | ||
* **dist/[lib-name].js** | ||
A file for the browser with a global called `[libName]` | ||
* **dist/[lib-name].min.js** | ||
The same file as above, but minified with UglifyJS 2 | ||
* **dist/[lib-name].common-js.js** | ||
@@ -17,3 +19,3 @@ A file to be used with browserify or similar. Set it up with: | ||
A file to be used with ESM-aware bundlers like rollup. Set it up with: | ||
`"jsnext:main": "dist/[lib-name].es-modules.js",` in package.json | ||
`"module": "dist/[lib-name].es-modules.js",` in package.json | ||
@@ -50,3 +52,3 @@ ## Usage | ||
The `browser` file is useful to be used for byte-counting via [`gzip-size-cli`](https://github.com/sindresorhus/gzip-size-cli) or with [badges.](https://github.com/exogen/badge-matrix#file-size-badges-for-any-file-on-github-or-npm) If your package is _node-only,_ you can pass the option `--byte-count` and a **dist/[lib-name].byte-count.js** file will be created. | ||
The `browser` file is useful to be used for byte-counting via [`gzip-size-cli`](https://github.com/sindresorhus/gzip-size-cli) or with [badges.](https://github.com/exogen/badge-matrix#file-size-badges-for-any-file-on-github-or-npm) If your package is _node-only,_ you can pass the option `--byte-count` and a **dist/[lib-name].size-measuring-only.js** file will be created. | ||
@@ -53,0 +55,0 @@ ## Alternatives |
6095
59