- 01 7月, 2019 2 次提交
-
-
由 Joe Haddad 提交于
Using runtime configuration can cause you to de-optimize entire classes of optimizations. These optimizations could make your application an order of magnitude faster (i.e. prerendering).
-
由 Johnboy 提交于
The second line of this comment was removed in the previous commit due to the usage of process.browser. This meant the comment was incomplete and confusing https://github.com/zeit/next.js/commit/c03e94bebddff570e2181bf3b8c34adf0c704470#diff-a15b49cbb3a523d81a74e0fab7f08eb5
-
- 30 6月, 2019 2 次提交
-
-
由 JJ Kasper 提交于
* Don't transpile styled-jsx in server mode * Add test fo styled-jsx-module * Add styled-jsx as dependency of next-server
-
由 Josh Chorlton 提交于
* Add path to exportPathMap query missing message * Path to Url
-
- 29 6月, 2019 9 次提交
-
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 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
-