1. 23 6月, 2020 3 次提交
    • T
      Remove buildId from server-side files (#14413) · 6c2ce706
      Tim Neutkens 提交于
      Gets rid of the custom function for naming files by removing buildId from the file paths.
      6c2ce706
    • J
      Update route regex for optional catch-all parameters in named regexes (#14456) · a7af0133
      Jan Potoms 提交于
      Noticed while working on https://github.com/vercel/next.js/pull/14400 that the optional catch-all handling was missing in `namedRegex`.
      
      This whole file also seemed quite regex heavy so I took a look at the overall logic and changed a few things. It worked by regex escaping the whole route then unescape the dynamic parts. I changed it to only regex escape the static parts, this eliminates unnecessary back and forth escaping. It also makes the dynamic parts handling more readable. The whole logic is less reliant on regexes and just uses simple string manipulation to translate the route into a regex, I didn't measure anything but as an effect this should make it more performant.
      a7af0133
    • J
      Shave a few bytes off the bootstrap code (#14457) · 70783185
      Jan Potoms 提交于
      Saw in the client bootstrap script that the error message was printed alongside the stacktrace. This is unnecessary since the stacktrace already includes the error message. In fact, it seems like browsers already do a good job of printing an error with its stacktrace when you just print them using `console.error`. It's a bit minor, but this should shave off a few bytes of the bundle.
      70783185
  2. 22 6月, 2020 7 次提交
  3. 21 6月, 2020 3 次提交
  4. 20 6月, 2020 2 次提交
  5. 19 6月, 2020 3 次提交
  6. 18 6月, 2020 6 次提交
  7. 17 6月, 2020 9 次提交
  8. 16 6月, 2020 7 次提交