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:
parent
a60b7412df
commit
2e5a44d5e5
1 changed files with 2 additions and 1 deletions
|
@ -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"],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue