This commit adds support for JSX automatic mode instead of the default mode that requires the presence of the JSX pragma in each file. This commit also adds the config file to the `fresh.gen.ts` manifest, which is used to determine if the client emit should use automatic mode. The minimum Deno version has also been bumped to 1.25.0.
14 lines
451 B
JSON
14 lines
451 B
JSON
{
|
|
"tasks": {
|
|
"test": "deno test -A && deno check --config=www/deno.json www/main.ts www/dev.ts && deno check init.ts",
|
|
"fixture": "deno run -A --watch=static/,routes/ tests/fixture/dev.ts",
|
|
"www": "deno run -A --watch=static/,routes/ www/dev.ts",
|
|
"screenshot": "deno run -A www/utils/screenshot.ts"
|
|
},
|
|
"importMap": "./.vscode/import_map.json",
|
|
"compilerOptions": {
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "preact"
|
|
}
|
|
}
|