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
* Persistent cache
Cache transform results in `~/.cache/bankai` using
[browserify-persist-fs](https://github.com/martinheidegger/browserify-persist-fs).
This should not be merged until browserify/module-deps#127
is, since currently this does not work great with watchify (if I
understand the linked PR correctly).
Anyway, on the `./example` folder in this repo, results:
```bash
$ time npm run build # cold run
npm run build 13.79s user 0.35s system 159% cpu 8.843 total
$ time npm run build # warm run
npm run build 9.64s user 0.30s system 170% cpu 5.818 total
```
This is already a pretty big win, but on a larger app it should be
much much more noticeable still.
* Add babelify and preset to persistent cache key
* Move persistent cache creation to separate file so we can run gc on build
0 commit comments