- 01 6月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
Previously we called this directory holding the pages/chunks for server rendering `.next/dist` instead of `.next/server` which is confusing both when looking at it and in the codebase, since there's also `distDir` as a configuration option. Also made this a constant in `next/constants` so functionality using this can be easily found.
-
- 31 5月, 2018 2 次提交
-
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
Fixes #4494
-
- 30 5月, 2018 3 次提交
-
-
由 Tim Neutkens 提交于
-
由 Jorge Cuadra 提交于
-
由 Tim Neutkens 提交于
-
- 29 5月, 2018 1 次提交
-
-
由 Shu Ding 提交于
-
- 28 5月, 2018 1 次提交
-
-
由 Michał Miszczyszyn 提交于
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 5月, 2018 1 次提交
-
-
由 daniel tea 提交于
`idead` to `idea`
-
- 25 5月, 2018 14 次提交
-
-
由 Tim Neutkens 提交于
-
由 Vlad Nicula 提交于
Just in case #3345 was a regression and nextjs should still support non webpack node envs for testing.
-
由 Ari Leo Frankel 提交于
This accepts arguments to a node --inspect flag as well as other debugging node flags. Resolves #4151
-
由 andy-viv 提交于
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 提交于
-
由 Tim Neutkens 提交于
-
由 Robin Wieruch 提交于
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 提交于
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 提交于
-
由 Kelly Burke 提交于
This example app shows you how to set up sitemap.xml and robots.txt files for proper indexing by search engine bots.
-
由 Timothy Vernon 提交于
-
由 Shu Ding 提交于
-
由 Luke Barton 提交于
* Update typescript examples to use 1.0.1 of next-typescript * Add .babelrc modifications to upgraded typescript examples
-
由 Rob Brennan 提交于
-
- 24 5月, 2018 8 次提交
-
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
-
由 Dimka Vasilyev 提交于
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
-
由 Logan Smyth 提交于
* 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 提交于
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
-
- 23 5月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
* 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
-
- 22 5月, 2018 2 次提交
-
-
由 Jerome Fitzgerald 提交于
Restructure with-material-ui (patch)
-
由 Luis Fernando Alvarez D 提交于
Fixes #4442
-
- 21 5月, 2018 3 次提交
-
-
由 Tage A. L. K 提交于
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 提交于
* 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 提交于
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.
-
- 20 5月, 2018 1 次提交
-
-
由 Jon Espen Kvisler 提交于
* set cache-control public * test for Cache-Control header * set Cache-Control header for commons/main.js
-
- 18 5月, 2018 2 次提交
-
-
由 Luis Fernando Alvarez D 提交于
-
由 Luc 提交于
* Fix example with-componentdidcatch * Improve demo in example : with-componentdidcatch * Change next dependency to latest * Revert _app.js
-