- 06 Oct, 2019 1 commit
-
-
Joe Haddad authored
-
- 05 Oct, 2019 3 commits
-
-
JJ Kasper authored
-
Joe Haddad authored
-
Joe Haddad authored
CSS Modules run their loader on the server, so we need to patch both variants of the webpack configuration.
-
- 04 Oct, 2019 5 commits
-
-
Joe Haddad authored
* Convert Dev Server to TypeScript This converts the Next.js Development Server to TypeScript in prep for upcoming changes. * Convert remaining necessary * Fix some type errors * Adjust types
-
Joe Haddad authored
* Informative Error for Invalid Global CSS This adds a helpful error message with a (basic) err.sh link for invalid Global CSS usage. We'll want to expand on this topic more and offer alternatives when CSS Modules support lands. * Update expected error message
-
Joe Haddad authored
This pull request converts Next.js' export CLI command to use TypeScript. This is useful for upcoming changes.
-
Joe Haddad authored
-
Joe Haddad authored
-
- 03 Oct, 2019 7 commits
-
-
Joe Haddad authored
This function was only used once. I missed it in review, but this should save us a few bytes.
-
Prateek Bhatnagar authored
* 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 authored
-
Joe Haddad authored
-
Joe Haddad authored
-
Joe Haddad authored
* 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 authored
* 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:Tim Neutkens <tim@timneutkens.nl>
-
- 02 Oct, 2019 10 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
* 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 authored
* 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 authored
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 authored
* s/Automatic Prerendering/Automatic Static Optimization/ * Update more links
-
Joe Haddad authored
-
Joe Haddad authored
-
Joe Haddad authored
-
Joe Haddad authored
* Add new `srcRoute` attribute to SprRoute * Update prerender manfiest test snapshot * Fix types
-
JJ Kasper authored
-
- 01 Oct, 2019 4 commits
-
-
JJ Kasper authored
* Add auth0 example * Apply suggestions from code review Co-Authored-By:Joe 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 authored
-
Henrik Wenz authored
## 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
-
Joe Haddad authored
* Update Prerender Manifest * Fix typescript
-
- 30 Sep, 2019 2 commits
-
-
Tim Neutkens authored
-
JJ Kasper authored
-
- 29 Sep, 2019 1 commit
-
-
takehiro-takahashi authored
-
- 28 Sep, 2019 7 commits
-
-
Tim Neutkens authored
-
JJ Kasper authored
-
Tim Neutkens authored
-
JJ Kasper authored
-
Tim Neutkens authored
-
Joe Haddad authored
-
Joe Haddad authored
-