Skip to content
Snippets Groups Projects
  1. Mar 24, 2023
  2. Mar 17, 2023
  3. Mar 16, 2023
  4. Mar 14, 2023
    • Jed Fox's avatar
      Reduce client build size by 1MB (#750) · c7e531a2
      Jed Fox authored
      before:
      
      ```
      kcab.worker.4bdc73a8d45eb2115156.js (2.1 MiB)
      xfo.kcab.worker.4bdc73a8d45eb2115156.js (1010 KiB)
      ```
      
      after:
      
      ```
      kcab.worker.39f5fba82d7bc7477962.js (1.41 MiB)
      xfo.kcab.worker.39f5fba82d7bc7477962.js (1000 KiB)
      ```
      
      What’s changed:
      
      - `loot-core` did not have a `browserslist` config, so
      `@babel/preset-env` assumes we want to [transpile all the way back to
      ES5](https://babeljs.io/docs/options#no-targets). I’ve removed the
      `browserslist` config from each of the `package.json` files and moved it
      to the root so this doesn’t happen again.
      - I updated the target from `electron 3.0` to `electron 12.0` to match
      our Electron dependency
      - I’ve added `defaults` (currently equivalent to `> 0.5%, last 2
      versions, Firefox ESR, not dead`) which is [recommended by
      browserslist](https://browsersl.ist/#q=defaults). We could consider
      tightening this, but it doesn’t offer a ton of space savings at this
      point to just target Electron 12.
      - Since much less transpilation will be happening, stack traces (dev and
      prod) will be much easier to read!
      Unverified
      c7e531a2
  5. Mar 13, 2023
  6. Mar 09, 2023
  7. Mar 05, 2023
  8. Feb 28, 2023
    • Jed Fox's avatar
      Remove/dedupe/upgrade several dependencies (#702) · 0688c258
      Jed Fox authored
      * Run `yarn dedupe`
      
      * Update to better-sqlite3@latest
      
      * Remove react-native
      
      * Remove a bunch more unused deps
      
      * Update mitt to 3.0
      
      * Remove a few more
      
      * Remove react-native-gesture-handler
      
      * Revert "Update to better-sqlite3@latest"
      
      This reverts commit d436bc8d73f2745f484def4e40596322d0c56458.
      
      * Dedupe better-sqlite3 versions
      
      * snapshots!
      
      * Fix jsdom error
      
      * Revert "Dedupe better-sqlite3 versions"
      
      This reverts commit f99d2ab6f9311663e3312ab5b00bc81c068f040d.
      
      * Add back jest-watch-typeahead
      
      * Fix conflicting Jest version
      
      (The jest-environment-jsdom package that is magically available seems to only be compatible with Jest 27)
      Unverified
      0688c258
    • Matiss Janis Aboltins's avatar
  9. Feb 09, 2023
  10. Feb 06, 2023
  11. Feb 05, 2023
  12. Jan 25, 2023
  13. Jan 18, 2023
  14. Jan 14, 2023
  15. Jan 13, 2023
  16. Jan 12, 2023
  17. Jan 10, 2023
  18. Dec 04, 2022
  19. Oct 25, 2022
  20. Sep 02, 2022
  21. Aug 25, 2022
  22. Aug 23, 2022
  23. Aug 12, 2022
  24. Jul 24, 2022
  25. Jun 29, 2022
  26. Apr 29, 2022
Loading