- 29 May, 2018 4 commits
-
-
Tim Neutkens authored
-
Jorge Cuadra authored
-
Tim Neutkens authored
-
Shu Ding authored
-
- 27 May, 2018 1 commit
-
-
Michał Miszczyszyn authored
Allow `onClick` on `next/link` child. This should not be a breaking change, but it's a very useful feature. Real-life use cases include: analytics or closing menu on navigation, and other. - [x] allow optional `onClick` on `next/link` component's child - [x] call original `child.props.onClick(e)` before `this.linkClicked(e)` - [x] add integration tests - [x] cancel the navigation if `e.defaultPrevented === true` Fixes #1490
-
- 26 May, 2018 1 commit
-
-
daniel tea authored
`idead` to `idea`
-
- 25 May, 2018 14 commits
-
-
Tim Neutkens authored
-
Vlad Nicula authored
Just in case #3345 was a regression and nextjs should still support non webpack node envs for testing.
-
Ari Leo Frankel authored
This accepts arguments to a node --inspect flag as well as other debugging node flags. Resolves #4151
-
andy-viv authored
This PR adds events for when there is a hash-only change in the URL. This is needed because `window.addEventListener('hashchange', ...)` does not work with next.js because it is using pushState. -
Tim Neutkens authored
-
Tim Neutkens authored
-
Robin Wieruch authored
I stumbled into this Issue https://github.com/zeit/next.js/issues/2868 and thought it should be mentioned properly in the documentation.
-
João Granado authored
This fixes the generated page chunk created by the webpack `pages-plugin` which adds a new line in the beginning of the template, when using `output.libraryTarget` set to be [`umd`](https://webpack.js.org/configuration/output/#module-definition-systems) it returns the module. Consider the following example, which is the output with the previous implementation: ```js (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["MyLibrary"] = factory(); else root["MyLibrary"] = factory(); })(typeof self !== 'undefined' ? self : this, function() { return __NEXT_REGISTER_PAGE(...) }); ``` `__NEXT_REGISTER_PAGE()` won't be executed since a `return` statement followed by a new line is the same as having a semicolon inserted right after the `return`. By removing the new line in the beginning of the source concatenation (which I suppose was added for stylistic reasons) this works as expected.
-
Tim Neutkens authored
-
Kelly Burke authored
This example app shows you how to set up sitemap.xml and robots.txt files for proper indexing by search engine bots.
-
Timothy Vernon authored
-
Shu Ding authored
-
Luke Barton authored
* Update typescript examples to use 1.0.1 of next-typescript * Add .babelrc modifications to upgraded typescript examples
-
Rob Brennan authored
-
- 24 May, 2018 2 commits
-
-
Tim Neutkens authored
-
Tim Neutkens authored
-
- 23 May, 2018 7 commits
-
-
Dimka Vasilyev authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Logan Smyth authored
* Port Babel logic to new custom babel-loader for config injection. * Update logic to also support babel.config.js configs. * Add test for .babelrc * Make inconsistent test work
-
Logan Smyth authored
This resolves the > .value is not a valid Plugin property error showing up for people in https://github.com/zeit/next.js/issues/4227 cc @timneutkens
-
Tim Neutkens authored
* Don’t use chunkhash in development * Add test for dynamic imports styling * Remove pre-load of dynamic page * Make sure the browser gets closed only once
-
- 21 May, 2018 5 commits
-
-
-
Luis Fernando Alvarez D authored
Fixes #4442
-
Tage A. L. K authored
Changes * Update dependencies. * Remove sending client prop to component on pages. * Use withApollo correctly on components. * Use `client.cache.reset()` instead of `prop.client.resetStore()`. @adamsoffer @timneutkens
-
James Hegedus authored
* with-firebase-hosting: update next.js 6, readme about customization * now next.js 6 is on Babel 7, remove conflicting babel deps * update Next Server/Cloud Function .babelrc config * update other deps: Cloud Functions to 1.x.x etc * rm install-deps script as it is no longer used on deployment (firebase does not upload node_modules) * make scripts consistent in their wrapping of dirs with \" (escaped double quotes) * with-firebase-hosting: pin next to "latest" version * with-firebase-hosting: fix lint errors
-
Sampson Oliver authored
Adds an example based off of @jthegedus work on firebase hosting, compatible with next v6 and using typescript in both the firebase functions and the next app.
-
- 19 May, 2018 1 commit
-
-
Jon Espen Kvisler authored
* set cache-control public * test for Cache-Control header * set Cache-Control header for commons/main.js
-
- 18 May, 2018 2 commits
-
-
Luis Fernando Alvarez D authored
-
Luc authored
* Fix example with-componentdidcatch * Improve demo in example : with-componentdidcatch * Change next dependency to latest * Revert _app.js
-
- 17 May, 2018 2 commits
-
-
Nathan Walters authored
-
yhirano55 authored
* Added license to package.json. * Modified package name same as dir name.
-
- 16 May, 2018 1 commit
-
-
yhirano55 authored
* This is minor refactoring. * Apply alphabetical order to files list.
-