We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 335ea35 commit bfd1d8dCopy full SHA for bfd1d8d
src/components/WranglerConfig.astro
@@ -38,7 +38,10 @@ let toml, json;
38
39
if (language === "toml") {
40
toml = code;
41
- json = JSON.stringify(TOML.parse(code), null, 2);
+ json = JSON.stringify({
42
+ "$schema": "./node_modules/wrangler/config-schema.json",
43
+ ...TOML.parse(code),
44
+ }, null, 2);
45
} else {
46
json = code;
47
toml = TOML.stringify(jsoncParse(code));
0 commit comments