feat(config): add compatibilityDate

- prevents the nitro server prompt to auto add compatibilityDate; it is used for cloudflare workers if I understand it correctly
This commit is contained in:
Ayo Ayco 2024-12-08 21:20:33 +01:00
parent a60b7412df
commit 2e5a44d5e5

View file

@ -9,8 +9,9 @@
export default function () { export default function () {
return { return {
framework: { framework: {
name: 'McFly' name: "McFly",
}, },
compatibilityDate: "2024-12-08",
devServer: { devServer: {
watch: ["./src/pages", "./src/components"], watch: ["./src/pages", "./src/components"],
}, },