You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All notable changes to this project will be documented in this file.
4
+
5
+
This project adheres to [Semantic Versioning](http://semver.org/).
6
+
7
+
## 2.4.3
8
+
Remove direct dependency on uglify-es, use terser 3.7.6+.
9
+
10
+
## 2.4.2
11
+
Revert to using `uglify-es` pending release of https://github.com/fabiosantoscode/terser/commit/9255757bcabbd35a8f69a4966e6a4f59b1927d36
12
+
13
+
## 2.4.1
14
+
* Update [uglifyify](https://github.com/hughsk/uglifyify) to v5.
15
+
This aligns the `uglifyify``--debug` flag handling with tinyify's. Chances of anything being broken before this patch are very small though.
16
+
17
+
## 2.4.0
18
+
* Add bundle-collapser when `--no-flat` is passed, to still save some bytes even if browser-pack-flat is not used.
19
+
* Automatically disable bundle-collapser and browser-pack-flat when the `--full-paths` option is passed to Browserify
20
+
21
+
## 2.3.0
22
+
add API to easily apply tinyify to other browserify pipelines, like generated by factor-bundle or split-require.
23
+
24
+
## 2.2.0
25
+
add a `--no-flat` option for use with other tools that expect [browser-pack](https://github.com/browserify/browser-pack) output, such as [disc](https://github.com/hughsk/disc)
26
+
27
+
## 2.1.1
28
+
output ascii-only by default (https://github.com/goto-bus-stop/tinyify/commit/89aaf79bd70de9772e13f1a0644616e36368269a), see also choojs/bankai#277
29
+
30
+
## 2.1.0
31
+
Add `env` option for custom environment variables. (@yoshuawuyts in #2)
32
+
33
+
## 2.0.0
34
+
Update browser-pack-flat to v3.0.0. This fixes tinyify-ing entry points that assign exports, like what's common in choo apps:
35
+
36
+
```js
37
+
// app.js
38
+
if (window) app.mount()
39
+
elsemodule.exports= app
40
+
```
41
+
42
+
The breaking change is that browser-pack-flat bundles will no longer assign `module.exports` when not using `--standalone`. This should not be a problem in 99.999% of cases, and is the same as what browser-pack does.
0 commit comments