1. 18 Nov, 2020 1 commit
  2. 17 Nov, 2020 6 commits
  3. 16 Nov, 2020 5 commits
  4. 15 Nov, 2020 3 commits
  5. 14 Nov, 2020 7 commits
  6. 13 Nov, 2020 13 commits
  7. 12 Nov, 2020 5 commits
    • Akuma Isaac Akuma's avatar
      Added query object as property to url object (#18340) · 7631c1ca
      Akuma Isaac Akuma authored
      `url` object is an instance of `url.URL` which has no property called `query` and it's causing an error with Next image-optimizer as you can see with the error log below.
      
      ```log
      TypeError: Cannot destructure property 'url' of 'parsedUrl.query' as it is undefined.
          at imageOptimizer (/[redacted]/node_modules/next/next-server/server/image-optimizer.ts:51:11)
          at Object.fn (/[redacted]/node_modules/next/next-server/server/next-server.ts:617:11)
          at Router.execute (/[redacted]/node_modules/next/next-server/server/router.ts:200:40)
          at DevServer.run (/[redacted]/node_modules/next/next-server/server/next-server.ts:1017:41)
          at DevServer.run (/[redacted]/node_modules/next/server/next-dev-server.ts:406:18)
          at DevServer.handleRequest (/[redacted]/node_modules/next/next-server/server/next-server.ts:437:14)
          at /[redacted]/server/next-wrapper.ts:9:5
      ```
      7631c1ca
    • LittleboyHarry's avatar
      Improve with-electron-typescript example (#18277) · 08ce06a3
      LittleboyHarry authored
      1. updates the `.gitignore` for this example to ignore the temporary output folders. ( similar to #15783 )
      2. change yarn run script to npm run script ( I don't like use yarn currently. )
      08ce06a3
    • Tuan Nguyen's avatar
      Propose some sentence changes (#19121) · c64bbfea
      Tuan Nguyen authored
      c64bbfea
    • Joe Haddad's avatar
      Remove preload for priority images (#19118) · 04ab3529
      Joe Haddad authored
      Fixes #18720
      
      This removes image preloading. It doesn't work correctly on any browser other than Chrome (with Chrome's real engine). On all other browsers, it triggers 2x the bytes to be downloaded. The tradeoff isn't worth it here IMO.
      
      Chrome itself should be smart enough to bump an `<img />` tag's priority over other preloads that are script type during the preparse phase.
      
      We can reintroduce this when we don't hurt non-Chrome users.
      04ab3529
    • Steven's avatar
      Fallback to default config to enable testing Image component (#19107) · 5562daf7
      Steven authored
      Fixes #18415 by using the default config as fallback.
      
      Users who wish to use their `next.config.js` values will still need the workaround from https://github.com/vercel/next.js/issues/18415#issuecomment-718180659
      5562daf7