This website requires JavaScript.
Explore
Help
Sign In
archive
/
rsnext
Watch
1
Star
0
Fork
You've already forked rsnext
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
c4b6bb8521
rsnext
/
examples
/
with-docker
/
next.config.js
5 lines
86 B
JavaScript
Raw
Normal View
History
Unescape
Escape
[Docs] Add config types to all examples (#40083) <!-- Thanks for opening a PR! Your contribution is much appreciated. In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## Summary - Added jsdoc typing for all examples using `next.config.js` - Added jsdoc typing for all examples using `tailwind.config.js` ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm lint` - [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-08-31 23:41:22 +02:00
/** @type {import('next').NextConfig} */
Update docker image to leverage output traces (#32258) This updates our docker example to leverage the output traces and standalone build to reduce the resulting docker image quite a bit. docker image size before: `272MB` docker image size after: `121MB` node-14:alpine size (base image): `118MB` ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` x-ref: https://github.com/vercel/next.js/pull/32255 x-ref: https://github.com/vercel/next.js/issues/32252 x-ref: https://github.com/vercel/next.js/issues/30822
2021-12-13 14:11:12 +01:00
module
.
exports
=
{
Move outputStandalone config (#37994)
2022-06-24 21:58:35 +02:00
output
:
'standalone'
,
Update docker image to leverage output traces (#32258) This updates our docker example to leverage the output traces and standalone build to reduce the resulting docker image quite a bit. docker image size before: `272MB` docker image size after: `121MB` node-14:alpine size (base image): `118MB` ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` x-ref: https://github.com/vercel/next.js/pull/32255 x-ref: https://github.com/vercel/next.js/issues/32252 x-ref: https://github.com/vercel/next.js/issues/30822
2021-12-13 14:11:12 +01:00
}
Reference in a new issue
Copy permalink