- 25 8月, 2020 1 次提交
-
-
由 Tim Neutkens 提交于
When the webpack 5 beta is used disk caching will be automatically enabled to improve incremental build performance.
-
- 24 8月, 2020 9 次提交
-
-
由 Christian Pena Valerio 提交于
-
由 Joe Haddad 提交于
-
由 khades 提交于
To prevent FOUC, discussed in #10557 i need to store information about css file dependencies for chunk. Right now current implementation just throws away everything but js. Can there be more than one css file in chunk? If no - code will be simplified. closes #10557
-
由 Luis Alvarez D 提交于
Fixes https://github.com/vercel/next.js/issues/16495 Terminal: ![image](https://user-images.githubusercontent.com/4278345/90984442-96421b00-e53a-11ea-9939-44b00cba87cf.png) Browser: ![image](https://user-images.githubusercontent.com/4278345/90984456-a9ed8180-e53a-11ea-86da-d9f28e9c2fdd.png) The link https://nextjs.link/codemod-ndc used for the warning links to a currently 404 docs page, that will be available in the next stable release. Tests not added as the warning has tests already.
-
由 JJ Kasper 提交于
If a custom `_document` is added but not all of the expected document components are rendered it can cause unintended errors as noticed in https://github.com/vercel/next.js/issues/10219 so this adds detecting when one of the expected document components isn't rendered and shows an error. Closes: https://github.com/vercel/next.js/issues/10219
-
由 Luis Alvarez D 提交于
Fixes https://github.com/vercel/next.js/issues/16502 Check the issue for more details.
-
由 WeichienHung 提交于
Fix https://github.com/vercel/next.js/issues/16197 See my screenshot. Testing url is changed to http://localhost:3000/test and can find the source map. <img width="826" alt="圖片" src="https://user-images.githubusercontent.com/1462027/90737991-d74eeb00-e300-11ea-9675-f25aef6a4062.png">
-
由 Tim Neutkens 提交于
Handles: - Next.js version - next.config.js `env` key - `NEXT_PUBLIC_` prefixed environment variables - next.config.js keys that affect performance Ideally we don't invalidate the whole cache when `NEXT_PUBLIC_` / `env` key variables change, but this is just to initially make the caching reliable, this behavior is similar to the current webpack 4 behavior, so it can only be improved
👍 -
由 Luis Alvarez D 提交于
@Timer This example seems to not be needed anymore
-
- 23 8月, 2020 5 次提交
-
-
由 JJ Kasper 提交于
This fixes invalid initial route params in development mode and serverless production mode. It also adds tests to ensure these values are correct in development, production, and serverless mode. x-ref: https://github.com/vercel/next.js/pull/16084 Fixes: https://github.com/vercel/next.js/issues/16481 Fixes: https://github.com/vercel/next.js/issues/16482
-
由 JJ Kasper 提交于
When navigating from a non-shallow page to a page that was navigated to shallowly in history it causes incorrect page data to be shown since an incorrect shallow navigation is done. We can only maintain shallow routing when the current page was navigated to shallowly and the page being navigated to in history was also navigated to shallowly. Additional tests to ensure this behavior is working has also been added. Closes: https://github.com/vercel/next.js/issues/7395 Closes: https://github.com/vercel/next.js/issues/14928 Fixes: https://github.com/vercel/next.js/issues/16028
-
由 sharils 提交于
* Document req and res * lint fix Co-authored-by: NLuis Alvarez <luis@vercel.com> Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
由 JJ Kasper 提交于
* Add version note to path aliases docs * Update docs/advanced-features/module-path-aliases.md Co-authored-by: NLuis Alvarez D <luis@vercel.com>
-
由 Diego Gennaro 提交于
* nextjs with unsplash initial commit * update demo link * remove isomorphic-unfetch * remove ssr on collection page * fix style issues * fix import/no-anonymous-default-export * usign fetch instead of request * remove credits * improve instructions * improve instructions * Updated readme steps and images * Updated readme * Updated gitignore Co-authored-by: NLuis Alvarez <luis@vercel.com>
-
- 22 8月, 2020 8 次提交
-
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
-
由 Joe Haddad 提交于
This pull request correctly tracks render cancelation behavior. Prior to this PR, we'd have an unhandled rejection that left the app in a bad state and no routeChangeError event was fired. --- Closes #16424 Fixes #16445
-
由 JJ Kasper 提交于
This makes sure to also check if a dynamic route matched after resolving a rewrite on the client to match behavior on the server. It also adds tests for this behavior to ensure it is working properly. Fixes: https://github.com/vercel/next.js/issues/16454
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
This fixes a client-side file not being transpiled correctly when rewrites are used. The cross browser tests have been updated to make sure there are rewrites so the related code is included and not dead-code eliminated' Closes: https://github.com/vercel/next.js/issues/16440
-
由 Joe Haddad 提交于
Fixes #16259 Caused by #16022 Follow up issue: #16450 This PR skips polyfilling Node modules in webpack 4 which are ignored by the `browsers` key.
-
由 JJ Kasper 提交于
This corrects the case where `/index` is used during revalidation for an optional catch-all route and `index` is passed as a param even though it should be undefined. This also adds test cases to make sure the params are normalized correctly Fixes: https://github.com/vercel/next.js/issues/16366
-
- 21 8月, 2020 9 次提交
-
-
由 Joe Haddad 提交于
-
由 Tim Neutkens 提交于
Adds missing context parameter
-
由 JJ Kasper 提交于
-
由 Joe Haddad 提交于
-
由 Janicklas Ralph 提交于
Eslint rule checks for missing preloads for stylesheets. cc: @prateekbh
-
由 Prateek Bhatnagar 提交于
- Upgrades cssnano to 1.2.0 - Only removes whitespaces from downloaded font declarations - Disables Font optimization for AMP pages
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
We were accidentally allowing data requests to be rendered unconditionally. Instead, we should also check them against the staticPaths result and 404 when appropriate. --- Fixes #15383
-
由 Joe Haddad 提交于
Fixes #13953
-
- 20 8月, 2020 8 次提交
-
-
由 JJ Kasper 提交于
This adds a `-d` or `--debug` flag which enables outputting additional build output information like the rewrites, redirects, and headers Fixes #15281
-
由 Joe Haddad 提交于
-
由 Tim Neutkens 提交于
Solves the warnings coming from mini-css-plugin in webpack 5. Fixes #15947
-
由 Stephen McMillen 提交于
The comment on the two different `--help` sections matched, though their logic if what was handled was slightly different. This adjusts the comments to clarify that difference. This is completely unrelated to function, but I noticed it while reviewing code and thought I'd PR the fix.
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
This fixes page checking failing due to the trailing slash being present which causes pages to proxied by a rewrite when they shouldn't be. This also adds additional tests to ensure rewriting to an external resource is working correctly with `trailingSlash: true` Fixes: https://github.com/vercel/next.js/issues/15700
-