Skip to content
Snippets Groups Projects
  1. Jul 25, 2023
  2. Jan 26, 2022
  3. Feb 27, 2019
  4. Jan 23, 2019
  5. Oct 24, 2017
    • Joe Lencioni's avatar
      Add /esm build · 2124613d
      Joe Lencioni authored
      This ES modules build will make these modules smaller in the final
      bundles, since the way Babel compiles import to require is pretty
      verbose. Additionally, it will enable webpack to make some optimizations
      on the final bundle, including tree-shaking and scope hoisting (if
      enabled). These will improve bundle sizes and runtime performance.
      
      I considered adding a module field to the package.json to point to this
      version for folks who are able to use it, but I decided to wait on that
      for now since that is still pretty experimental.
      
      For now, consumers will need to use this either by importing from
      react-dates/esm directly or by using something like a webpack alias to
      use this version of the build.
      
      When working on this I originally kept the plugins array at the top
      level instead of repeating it for each env, but I ran into an issue that
      seemed related to ordering that caused babel-register in the compile CSS
      script to not apply the correct transformations. I was able to work
      around this by repeating the plugins for each env.
      2124613d
  6. Oct 13, 2017
  7. Oct 06, 2017
  8. Jun 03, 2017
  9. May 17, 2017
  10. Apr 02, 2017
  11. Sep 02, 2016
  12. Aug 26, 2016
  13. Aug 17, 2016
  14. May 04, 2016
Loading