unjs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.unjs.io
MIT License
5.89k stars 496 forks source link

feat: support reproducible builds using `SOURCE_DATE_EPOCH` #2646

Open peterhirn opened 1 month ago

peterhirn commented 1 month ago

πŸ”— Linked issue

2645

❓ Type of change

πŸ“š Description

If environment variable SOURCE_DATE_EPOCH is set (number seconds since the Unix epoch) use this timestamp instead of new Date() and mtime. See linked issue for more context.

Resolves #2645

πŸ“ Checklist

TODO