1. 15 Dec, 2018 3 commits
  2. 14 Dec, 2018 4 commits
  3. 13 Dec, 2018 7 commits
  4. 12 Dec, 2018 4 commits
    • adrianoted's avatar
      Removing link ref style.css (#5871) · 81a2a6c4
      adrianoted authored
      This link ref is no more necessary to include in the Head Section.  It cause error 404 in the console: http://localhost:3000/_next/static/style.css net::ERR_ABORTED 404 (Not Found)
      81a2a6c4
    • Benjamin Kniffler's avatar
      multi-threaded export with nice progress indication (#5870) · e6c36866
      Benjamin Kniffler authored
      This PR will
      
      - allow nextjs export to use all available CPU cores for rendering & writing pages by using child_process
      - make use of async-sema to allow each thread to concurrently write multiple paths
      - show a fancy progress bar while processing pages (with non-TTY fallback for CI web consoles)
      
      The performance gain for my MacBook with 4 CPU cores went from ~25 pages per second to ~75 pages per second. Beefy CI machines with lots of cores should profit even more.
      e6c36866
    • Oscar Busk's avatar
      Fix/update "examples/custom-server-typescript" (#5865) · 71d1d363
      Oscar Busk authored
      * Update all dependencies and remove redundant ones from package.json. (60f9ee5)
      * Fixes #5596 by adjusting nodemon scripts (d4b7d3a)
      * Fixes `npm start` on windows by using `cross-env` (9555217)
      * Move compiled server out from `.next`. Compiling other JS into `.next` seems incorrect. (79fce02, 
      9ce7086)
      * Partly fixes #5753 by making sure typescript compiles with `es2017` as target, at least ensuring code is runnable on node 8. Previously it was compiled with `esnext`. (9176e92)
      
      --- 
      
      I tried improving the structure by keeping source in `src/app` and `src/server` and then building to `dist/server` and `dist/app` but I didn't really get it to work and made most configs more complicated. Moved the built server out from `.next` anyway.
      71d1d363
    • Brian Beck's avatar
      Fix initialNow in react-intl example (#5867) · 50662c6a
      Brian Beck authored
      The `initialNow` prop is used to avoid content mismatches when Universal/SSR apps render date values using components like `<FormattedRelative>`.
      
      If this value is created in `render()`, then the server will generate it and then the client will also generate it during hydration / initial render, resulting in two different values and content mismatches like:
      
      > Warning: Text content did not match. Server: "in 1,741,545 seconds" Client: "in 1,741,543 seconds"
      
      If the value is instead generated in `getInitialProps`, then the client's initial rendering will match because it will use the same value sent down by the server.
      50662c6a
  5. 11 Dec, 2018 5 commits
  6. 10 Dec, 2018 11 commits
  7. 09 Dec, 2018 1 commit
  8. 08 Dec, 2018 1 commit
  9. 07 Dec, 2018 2 commits
    • Tim Neutkens's avatar
      Move sendHTML and rewrite in ts (#5839) · 0e6d1907
      Tim Neutkens authored
      * Move send-html function and rewrite in typescript
      
      * Move getPageFiles and convert to ts
      
      * Move getPageFiles and convert to ts (#5841)
      
      * Move getPageFiles and convert to ts
      
      # Conflicts:
      #	packages/next-server/server/render.js
      
      * Fix unit tests
      0e6d1907
    • Tim Neutkens's avatar
      Move getPageFiles and convert to ts (#5841) · 8873242b
      Tim Neutkens authored
      * Move getPageFiles and convert to ts
      
      # Conflicts:
      #	packages/next-server/server/render.js
      
      * Fix unit tests
      8873242b
  10. 06 Dec, 2018 2 commits