1. 25 May, 2018 1 commit
    • Renée Kooi's avatar
      Switch to nanohtml. (#488) · f894c981
      Renée Kooi authored
      ## Checklist
      <!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->
      - [x] tests pass
      
      ## Semver Changes
      Patch
      f894c981
  2. 17 May, 2018 1 commit
  3. 16 May, 2018 1 commit
  4. 08 May, 2018 3 commits
  5. 02 May, 2018 1 commit
  6. 23 Apr, 2018 2 commits
  7. 13 Apr, 2018 3 commits
  8. 12 Apr, 2018 1 commit
    • Renée Kooi's avatar
      Replace findup by @choojs/findup (#465) · 7c6e0788
      Renée Kooi authored
      @choojs/findup is a fork of findup that removes the `colors` dependency.
      `colors` adds lots of properties to the String prototype, which was
      causing big slowdowns in bankai. About 300ms was spent calling `colors`
      getters that were never expected to be there (mostly by the CSS parser).
      7c6e0788
  9. 11 Apr, 2018 1 commit
  10. 08 Apr, 2018 1 commit
  11. 06 Apr, 2018 1 commit
  12. 29 Mar, 2018 1 commit
  13. 22 Mar, 2018 1 commit
  14. 21 Mar, 2018 1 commit
  15. 16 Mar, 2018 1 commit
  16. 14 Mar, 2018 3 commits
  17. 07 Mar, 2018 1 commit
  18. 28 Feb, 2018 3 commits
  19. 23 Feb, 2018 3 commits
    • Yoshua Wuyts's avatar
      Async server render (#427) · dc14d3ba
      Yoshua Wuyts authored
      * split off server-render
      
      * async rendering
      
      * progress
      
      * it kinda works!
      
      * wip
      
      * send rendered page back to http caller
      
      * bump choo devDep to the one with server side app.mount()
      
      * change this so it will not `.catch()` if the `render` call itself failed
      dc14d3ba
    • Renée Kooi's avatar
      9.7.2 · 73638dd0
      Renée Kooi authored
      73638dd0
    • Renée Kooi's avatar
      Revert "Persistent cache (#426)", fixes #432, fixes #434 (#433) · 843fcef7
      Renée Kooi authored
      This reverts commit b4a0f9c3.
      
      The persistent cache doesn't work with transforms that emit 'file'
      events right now, so we'll have to figure that out before enabling it.
      843fcef7
  20. 21 Feb, 2018 1 commit
  21. 20 Feb, 2018 1 commit
    • Renée Kooi's avatar
      Fix split-require integrity hashes (#428) · 81fca352
      Renée Kooi authored
      Previously we were telling split-require to generate a sha512 hash, but
      then removing the source map from dynamic bundles afterwards,
      invalidating the hash.
      
      With this change we run exorcist as the very last part of the
      split-require pipeline, by listening to the `split.pipeline` event. This
      way split-require will generate hashes for the files _after_ source maps
      have been externalised.
      
      Also added integrity hashes to the prefetch links while debugging to
      check whether they were the same; per
      https://medium.com/reloading/preload-prefetch-and-priorities-in-chrome-776165961bbf#6dca
      I'm not sure if this does anything or if prefetching at all might be
      counterproductive.
      81fca352
  22. 16 Feb, 2018 1 commit
  23. 14 Feb, 2018 2 commits
    • Renée Kooi's avatar
      Persistent cache (#426) · b4a0f9c3
      Renée Kooi authored
      * 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 https://github.com/browserify/module-deps/pull/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
      b4a0f9c3
    • Renée Kooi's avatar
      9.6.1 · ba2c2241
      Renée Kooi authored
      ba2c2241
  24. 13 Feb, 2018 1 commit
  25. 11 Feb, 2018 1 commit
  26. 09 Feb, 2018 2 commits
  27. 07 Feb, 2018 1 commit