-
-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The updatedAt field of all the contents are changed on deployment. #913
Comments
I noticed the same for the |
I also was confused about this, but for me, it makes sense as during the build steps the files are copied/moved/recreated at the servers of netlify/vercel. To fix this, I added the attribute |
Install the module with
Note that it is important to add it before @nuxt/content, so @nuxt/content knows about the hooks that our helper module installs. |
When deploying a static site to netlify or vercel, the
updatedAt
field of all the contents are changed to the deployment time.You can see in this example nuxt blog repository that the repo was last update on Jan 7 and the
updatedAt
field of the contents on the website are Jan 7 as well. This behavior also happens on latest version (v1.14.0).Steps to reproduce
The text was updated successfully, but these errors were encountered: