- 01 7月, 2020 7 次提交
-
-
由 Tim Neutkens 提交于
Webpack 5 supports a single runtimechunk for the Node.js compilation, this solves sharing modules between entrypoints.
-
由 Tim Neutkens 提交于
Fixes #11711 Also cleaned up some extra code. This was already supported on the Vercel edge network.
-
由 Lindsey Simon 提交于
Fix CSS `display` on login link.
-
由 muslax 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
This makes sure to base64 encode the `.env*` file contents before passing them in the URL for the serverless-loader since `!` is a special character in this case which can cause webpack to fail to build Closes: https://github.com/vercel/next.js/issues/14749
-
由 Luis Alvarez D 提交于
Updated the example to use server only variables inside `getStaticProps`
-
- 30 6月, 2020 14 次提交
-
-
由 Joe Haddad 提交于
-
由 Darsh Patel 提交于
Fix super minor typo in cms-sanity example readme
-
由 Joe Haddad 提交于
Fixes #12291 ![image](https://user-images.githubusercontent.com/616428/85499698-176b4900-b5b0-11ea-8a5d-a7f0b4c20307.png)
-
由 Darsh Patel 提交于
Added an Example using MongoDB's Realm-Web SDK ![Screenshot 2020-06-25 at 5 25 49 PM](https://user-images.githubusercontent.com/11258286/85715292-ebafa680-b708-11ea-98bd-d8d64701f0af.png) Fixes #14417
-
由 Yang Sun 提交于
Fixes #14464
-
由 Jan Potoms 提交于
* avoid pulling code in the bundle for `trailingSlash` logic when it's not enabled * avoid cloning the url an extra time if normalizing the path doesn't change it
-
由 Jan Potoms 提交于
Avoid trailing slashes on urls that look like files. The redirect for `trailingSlash: true` will now look like: ``` Redirects ┌ source: /:path*/:file.:ext/ ├ destination: /:path*/:file.:ext └ permanent: true ┌ source: /:path*/:notfile([^/.]+) ├ destination: /:path*/:notfile/ └ permanent: true ``` The default still looks like: ``` Redirects ┌ source: /:path+/ ├ destination: /:path+ └ permanent: true ``` After this gets merged, I have a few optimizations planned on the normalization code that should reduce the client bundle a little and that consolidates the `trailingSlash` and `exportTrailingSlash` options
-
由 ralphilius 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
Fixes #14632 Fixes #14690
-
由 Arsalan Khattak 提交于
Change Data Fetching Method in Example with-mongodb-mongoose Fetch Data on Runtime (getServerSideProps) rather than Build Time (getStaticProps)
-
由 Joe Haddad 提交于
-
由 Pascal Pixel 提交于
The existing example gives an error on every hot reload, perhaps because of the way that an initial `useEffect` hook imports the `GLTFLoader` and it doesn't redo that on hot reload? Putting the component using the `useLoader` hook in a dynamic import seems to fix this. Open to better suggestions, this is kind of awkward to use still...
-
由 Joe Haddad 提交于
Closes #14682
-
- 29 6月, 2020 5 次提交
-
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
This updates `fetchNextData` to re-use the `getDataHref` function from `page-loader` which has more verbose handling to ensure the correct `/_next/data` URL is built. Re-using this logic ensures the `/_next/data` URL can still be built even when a mismatching `href` and `as` value is provided to `next/link`. This also fixes a case in `getDataHref` where optional values that weren't provided would fail to build the data href since the check requiring the param be present while interpolating the route values hasn't been updated to allow missing params for optional values. An additional test case has been added to the prerender suite to ensure the `/_next/data` URL is built correctly when mismatching `href` and `as` values are provided x-ref: https://github.com/vercel/next.js/discussions/14536 x-ref: https://github.com/vercel/next.js/discussions/9081#discussioncomment-31160 Closes: https://github.com/vercel/next.js/issues/14668
-
由 Jan Potoms 提交于
Add tests and fix for when the url contains query parameters. `router` now uses the same method for formatting url+as pair as `Link`, will be able to share code after https://github.com/vercel/next.js/pull/14633 is merged
-
由 Tim Neutkens 提交于
Preparation for a larger rewrite
-
由 Tim Neutkens 提交于
We've been meaning to change this code for a while
👍 - Changed the name from spr to incremental - Changed the code to be a class instead of using module scope variables
-
- 28 6月, 2020 7 次提交
-
-
由 Jan Potoms 提交于
Tweak PR stats message for req/sec metrics. I think they should warn when they are negative, not when positive
-
由 Luis Alvarez D 提交于
Closes https://github.com/vercel/next.js/issues/14570 Closes https://github.com/vercel/next.js/issues/14576 - The example features everything on the page in our docs while still being quite simple - Added a link to it in the documentation - Deprecated the with-now-env example
-
由 S M Mahmudul Hasan 提交于
Add @prefresh/next as dependency Closes #14607
-
由 Todor Totev 提交于
Closes [13709](https://github.com/vercel/next.js/issues/13709). The solution works, **(tested and confirmed with true and false flags with the latest next version)** though I am quite sure this is not the most elegant and proper way to implement it. I have spent the good part of yesterday and today's morning in order to make it more generic but since it's my first time working with anything related to webpack I have struggled miserably. Last, but not least I'm unsure if this is the most proper naming for the flag. Please, let me know what you want me to change and I'll get it done asap.
-
由 Tim Neutkens 提交于
-
-
由 Tim Neutkens 提交于
Makes sure this works correctly with webpack 5.
-
- 27 6月, 2020 5 次提交
-
-
-
由 Tim Neutkens 提交于
-
由 S M Mahmudul Hasan 提交于
Closes: #14595
-
由 JJ Kasper 提交于
This moves the custom-routes configs outside of the experimental section to prepare them for being made stable Fixes: https://github.com/vercel/next.js/issues/14184
-
由 James Bowes 提交于
Keeping up with section headers in markdown is fun :) Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
- 26 6月, 2020 2 次提交
-
-
由 matamatanot 提交于
-
由 Tim Neutkens 提交于
-