rsnext/packages/next
Pablo Saez dac715e8f7
Add flag to disable API warning (#11380)
* Add flag to disable API warning

This flag is useful when you are using an external API resolver like express when defining an API route, since the native functionality doesn't realize that the API actually sent a response.

A very simple use case example https://github.com/PabloSzx/next-external-api-resolver-example

fixes #10589

* Update api-middlewares.md

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-05-07 14:05:41 +02:00
..
bin Add warning for non-standard NODE_ENV value (#12361) 2020-05-04 11:21:58 -05:00
build [Fast Refresh] New Compile Error Overlay (#12543) 2020-05-05 23:46:07 -04:00
cli New logging output (#12169) 2020-04-29 04:49:28 -04:00
client [Fast Refresh] New Compile Error Overlay (#12543) 2020-05-05 23:46:07 -04:00
compiled Update AMP dependencies (#12536) 2020-05-06 10:18:18 -04:00
export Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00
lib Add warning for non-standard NODE_ENV value (#12361) 2020-05-04 11:21:58 -05:00
next-server Add flag to disable API warning (#11380) 2020-05-07 14:05:41 +02:00
pages Remove __NEXT_DATA__ from production builds when runtime JS is disabled (#12406) 2020-05-03 13:25:40 +02:00
server [Fast Refresh] New Compile Error Overlay (#12543) 2020-05-05 23:46:07 -04:00
telemetry Disable cache warning on supported platforms (#12495) 2020-05-05 11:04:57 -04:00
types Add flag to disable API warning (#11380) 2020-05-07 14:05:41 +02:00
amp.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
amp.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
app.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
app.js Add missing dependencies to server (#5369) 2018-10-03 00:08:57 +02:00
babel.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
babel.js Monorepo (#5341) 2018-10-01 01:02:10 +02:00
client.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
client.js Monorepo (#5341) 2018-10-01 01:02:10 +02:00
config.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
config.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
constants.d.ts Remove default export from constants.d.ts (#8979) 2019-10-07 14:30:07 +02:00
constants.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
data.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
data.js amp-bind data injection (#6840) 2019-04-02 16:09:34 +02:00
document.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
document.js Add missing dependencies to server (#5369) 2018-10-03 00:08:57 +02:00
dynamic.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
dynamic.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
error.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
error.js Add missing dependencies to server (#5369) 2018-10-03 00:08:57 +02:00
head.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
head.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
license.md Update year on license files 2020-04-21 12:24:08 +02:00
link.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
link.js Bring back module.exports because of backwards compat (#5815) 2018-12-04 15:26:20 +01:00
package.json v9.3.7-canary.14 2020-05-07 01:36:27 -04:00
README.md Rename ZEIT to Vercel (#12075) 2020-04-21 11:47:12 +02:00
router.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
router.js Bring back module.exports because of backwards compat (#5815) 2018-12-04 15:26:20 +01:00
taskfile-babel.js Enable polyfillsOptimization (#10574) 2020-02-18 19:26:55 +01:00
taskfile-ncc.js Fix ncc'd version of terser not being used by terser webpack plugin (#12252) 2020-04-28 09:58:34 +02:00
taskfile-typescript.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
taskfile.js Fix wildcard paths causing infinite resolving (#12318) 2020-04-29 17:04:42 +02:00
tsconfig.json Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00

Next.js

Getting Started

Visit https://nextjs.org/learn to get started with Next.js.

Documentation

Visit https://nextjs.org/docs to view the documentation.

Contributing

Please see our contributing.md.

Authors