- 29 6月, 2019 7 次提交
-
-
由 Luis Fernando Alvarez D 提交于
-
由 Joe Haddad 提交于
* Remove `withAmp` and do not expose `isInAmpMode` This pull request removes the `withAmp` higher-order component in favor of the exported configuration object. Retaining this backwards compatibility isn't worth the extra maintenance burden, given it hasn't been released for very long and the migration is ultra-simple. I'm
👎 on retaining backwards compatibility just for the sake of it. Migration example follows. I'm willing to write a codemod if reviewers feel it's necessary. *Before* ```js import { withAmp } from 'next/amp' function Home() { return <h1>My AMP Page</h1> } export default withAmp(Home) // or export default withAmp(Home, { hybrid: true }) ``` *After* ```js export default function Home() { return <h1>My AMP Page</h1> } export const config = { amp: true, // or amp: 'hybrid', } ``` * Fix { amp: 'hybrid' } Co-Authored-By: NJJ Kasper <jj@jjsweb.site> -
由 Joe Haddad 提交于
-
由 Luis Fernando Alvarez D 提交于
* added docs for disabling prefetch * Update packages/next/README.md Co-Authored-By: NJJ Kasper <jj@jjsweb.site>
-
由 JJ Kasper 提交于
* Expand automatic pre-rendering docs * Apply suggestions from code review Co-Authored-By: NLuis Fernando Alvarez D. <luis@zeit.co>
-
由 Joe Haddad 提交于
* Unflag Dynamic Routing * Unflag Automatic Prerendering * Ensure pages are lambdas for test * Fix file check * Fix tests * oof * Use lambda for document middleware test
-
- 28 6月, 2019 6 次提交
-
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
* Remove modules option from dynamic * Remove old test
-
由 Lukáš Huvar 提交于
* Update helper function to invoke only on get * Tests for body parsing * Update api-utils.ts * Update next-server.ts * Update packages/next-server/server/next-server.ts Co-Authored-By: NJJ Kasper <jj@jjsweb.site>
-
由 Taro Shono 提交于
-
由 JJ Kasper 提交于
-
由 Lukáš Huvar 提交于
* Dynamic routes for API * New structure * Change next config * Refactoring tests * Fix newline * Fix tests * Remove dynamic from config * Apply suggestions from code review Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Update index.test.js
-
- 27 6月, 2019 5 次提交
-
-
由 JJ Kasper 提交于
* Clean up AMP logic * Tweak AMP logic some more * Rename hasAmpVersion to hybridAmp
-
由 Lukáš Huvar 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 Joe Haddad 提交于
* Asynchronously check for type errors * Add TODO * Fix webpack invalidation * Show TypeScript error in dev client
-
- 26 6月, 2019 7 次提交
-
-
由 Eduardo P. Rivero 提交于
* Updating hapijs package name Hapi was moved to a new module under the name @hapijs/hapi. Right now installing just as hapi is giving you this warning: ```bash npm WARN deprecated hapi@18.1.0: This module has moved and is now available at @hapi/hapi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. ``` This change does not affect the integration with next and it continues to work great. * Update package.json
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
- 25 6月, 2019 9 次提交
-
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
* Update page-loader prefetch checking * Add test for re-prefetching same bundle
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
* Fix TypeScript typing This correctly defines `process.browser` instead of `process.env.browser`. It also removes `process.crossOrigin` because it's not found in our documentation anywhere and is mostly used for internal purposes. * Make sure `process.browser` doesn't throw a type error * Split globals from Next.js module * Allow `test` as a valid NODE_ENV * Fix type assignment * Make sure global types get published * Fix test
-
由 Kuba Juszczyk 提交于
* Restoring not working mouse event * Restoring possibility of conditionally switching off the prefetch
-
- 24 6月, 2019 4 次提交
-
-
由 Joe Haddad 提交于
This PR compiles development-time dependencies that cause invalid syntax errors in IE 11 (ES 5). Closes #7610 Closes #7612
-
由 Joe Haddad 提交于
* `_document` middleware is experimental Closes https://github.com/zeit/next.js/issues/7580 * Turn on document middleware
-
由 Joe Haddad 提交于
This reverts commit e85a517e.
-
由 Khang Hoang 提交于
-
- 23 6月, 2019 1 次提交
-
-
由 Luis Fernando Alvarez D 提交于
* Removed eslint packages and module-resolver from the example * Removed unused package
-
- 22 6月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
-