Skip to content
Snippets Groups Projects
  1. Apr 08, 2019
  2. Apr 03, 2019
  3. Apr 09, 2018
  4. Apr 08, 2018
  5. Oct 23, 2017
    • Joe Lencioni's avatar
      Replace svg-loader with babel-plugin-inline-react-svg · d244b20a
      Joe Lencioni authored
      I want to do some optimizations on how react-dates is built, to help
      reduce the bundle size impact of using this project. The first step I
      see is reducing the size of each of the components, which we can achieve
      by avoiding building them with webpack.
      
      From what I can tell, webpack was only brought in to support getting
      SVGs in these components. We can pretty easily replace this with a Babel
      transform that will achieve the same result, but with less complexity in
      our build, and a little less overhead in the resulting components.
      
      Before this change:
      
      ```
      ~/react-dates ❯❯❯ du -hs lib/components
      420K    lib/components
      ```
      
      After this change:
      
      ```
      ~/react-dates ❯❯❯ du -hs lib/components
      348K    lib/components
      ```
      d244b20a
  6. Oct 06, 2017
  7. Jun 29, 2017
  8. Sep 07, 2016
    • Maja Wichrowska's avatar
      Addresses comments · db9c05ba
      Maja Wichrowska authored
      db9c05ba
    • Ian Christian Myers's avatar
      Run test suite in Firefox via Karma · 4b7bf417
      Ian Christian Myers authored
      Since the primary use-case for react-dates is in a browser environment
      it seems appropriate to run the test suite in a browser.
      
      I've added configuration to run the test suite in Firefox via Karma
      with the necessary adjustments to the Travis config. I've commented
      the two places in the Karma config where I'm doing something odd in
      order to make things work.
      4b7bf417
Loading