diff options
| author | 2021-08-17 17:47:19 -0700 | |
|---|---|---|
| committer | 2021-08-17 17:47:19 -0700 | |
| commit | 06ef8cf9ebd6dc13bbaac6d05461294a4d7f417d (patch) | |
| tree | 3119ad6b6f9129a76ea267b7abf2cccf6149614e /src/options.zig | |
| parent | 3b6259edf33933be61ed0e8cdb2ff3dc2ae3a56a (diff) | |
| download | bun-06ef8cf9ebd6dc13bbaac6d05461294a4d7f417d.tar.gz bun-06ef8cf9ebd6dc13bbaac6d05461294a4d7f417d.tar.zst bun-06ef8cf9ebd6dc13bbaac6d05461294a4d7f417d.zip | |
static
Former-commit-id: 1da09a997008e246955167b79883b958e23f0d78
Diffstat (limited to 'src/options.zig')
| -rw-r--r-- | src/options.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/options.zig b/src/options.zig index 81c01f4fd..c989e32f2 100644 --- a/src/options.zig +++ b/src/options.zig @@ -432,7 +432,8 @@ pub const JSX = struct { refresh_runtime: string = "react-refresh/runtime", supports_fast_refresh: bool = false, - jsx: string = "jsxDEV", + jsx: string = Defaults.JSXFunction, + jsx_static: string = Defaults.JSXStaticFunction, development: bool = true, parse: bool = true, @@ -465,6 +466,7 @@ pub const JSX = struct { pub const ImportSourceDev = "react/jsx-dev-runtime"; pub const ImportSource = "react/jsx-runtime"; pub const JSXFunction = "jsx"; + pub const JSXStaticFunction = "jsxs"; pub const JSXFunctionDev = "jsxDEV"; }; |
