- 04 10月, 2019 8 次提交
-
-
由 Joe Haddad 提交于
This pull request converts Next.js' export CLI command to use TypeScript. This is useful for upcoming changes.
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
This function was only used once. I missed it in review, but this should save us a few bytes.
-
由 Prateek Bhatnagar 提交于
* Performance relayer for client side performance * adding paint metrics * fixing titles * fixing route change measure * accessing exports without loop * adding more tests * renaming the method * adds experimental prefix to method name * applying the suggested patch * Update index.js
-
由 Jigo Palillo 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 03 10月, 2019 9 次提交
-
-
由 Joe Haddad 提交于
* Use Better Telemetry Directory So, as it turns out, storing in `node_modules` is a bad idea. Both npm and Yarn will remove additional files when you run `npm install` or `yarn install`. Instead, we'll store this inside of Next.js' `distDir`. This should also be cached by users, if it's not, it probably won't be any worse as compared to `node_modules`. * Fix directory name * Fix build setup * Record when export session is started * Move more into branch
-
由 Joe Haddad 提交于
* Monkey patch `next-sass` and `next-less` These two Next.js plugins use poor webpack practices: they define plugins without resolving themselves. As a result, the resolution root is unknown by webpack and you get into package hoisting bugs. To fix this, we emulate the logic these packages should've performed themselves on a best-effort basis. * Add comments explaining the monkey patch * Fix comment * Update packages/next/build/webpack-config.ts Co-Authored-By: NTim Neutkens <tim@timneutkens.nl>
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
* Show content as soon as <style> tags are added * Add fallback removal * Add test for when unused * Ensure the function is ES5 compatible * IE support * Test it works on broken pages
-
由 Joe Haddad 提交于
* Remove `config` export This removes the `config` export instead of all exports. Reverts #8889 (but with fixed behavior) * Add test to ensure config object is dropped from client-bundle
-
由 Joe Haddad 提交于
These Recipies are not regularly audited to ensure they're using the most up-to-date and suggested practices. We'll reintroduce the idea of "recipies" in the future, for now, the examples directory is a great place to start.
-
由 Joe Haddad 提交于
* s/Automatic Prerendering/Automatic Static Optimization/ * Update more links
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 02 10月, 2019 6 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
* Add new `srcRoute` attribute to SprRoute * Update prerender manfiest test snapshot * Fix types
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
* Add auth0 example * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Remove LICENSE * Add create next-app section * Update to latest @auth0/nextjs-auth0 * Update user handling * Update profile link to use <Link> * Update .env template to reflect guides * Simplify example * Update example to prefer API call (temporary hardcoded url) * Simplify state and ensure rerenders don’t race * Clear up import being commented * Make code style consistent * Update pages to reflect required auth on the client-side * Memoize the user on window * Update now.json instruction * Remove meta fields * Update docs with explanation * Update UI for auth0 example
-
由 Joe Haddad 提交于
-
由 Henrik Wenz 提交于
## Changes - [x] Remove _app.js usage - [x] Migrate withRedux HOC to functional component - [x] Add correct display name - [x] Remove abstractions/boilerplate from example - [x] Add useInterval HOC from Dan
-
- 01 10月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Update Prerender Manifest * Fix typescript
-
- 30 9月, 2019 3 次提交
-
-
由 Tim Neutkens 提交于
-
由 JJ Kasper 提交于
-
由 takehiro-takahashi 提交于
-
- 28 9月, 2019 11 次提交
-
-
由 Tim Neutkens 提交于
-
由 JJ Kasper 提交于
-
由 Tim Neutkens 提交于
-
由 JJ Kasper 提交于
-
由 Tim Neutkens 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
* Add SPR Dynamic Routes to Manifest This adds dynamic routes for SPR pages to the prerender manifest so we can configure the Now Builder to handle these routes as SPR routes. Otherwise, they're treated like normal `getInitialProps` pages. * Fix types
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
* Configure the Default Revalidate The default revalidate behavior should be configured by Next.js. Otherwise, the behavior might drift or change in non-semver compliant ways between Next.js and the builder (or other 3rd party setups). * Add additional comment
-
由 Joe Haddad 提交于
Per the HTTP specification, only natural numbers may be used for caching durations. We should enforce this with a really helpful error message.
-
- 27 9月, 2019 2 次提交
-
-
由 Joe Haddad 提交于
* Favicon should have low importance * Update index.js
-
由 Joe Haddad 提交于
This checks that the program output actually claims there was a build error.
-