summaryrefslogtreecommitdiff
path: root/cli/bench/testdata/npm/hono/dist/middleware/jsx/jsx-dev-runtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/bench/testdata/npm/hono/dist/middleware/jsx/jsx-dev-runtime.js')
-rw-r--r--cli/bench/testdata/npm/hono/dist/middleware/jsx/jsx-dev-runtime.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/bench/testdata/npm/hono/dist/middleware/jsx/jsx-dev-runtime.js b/cli/bench/testdata/npm/hono/dist/middleware/jsx/jsx-dev-runtime.js
new file mode 100644
index 000000000..6aa4bfa00
--- /dev/null
+++ b/cli/bench/testdata/npm/hono/dist/middleware/jsx/jsx-dev-runtime.js
@@ -0,0 +1,10 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.jsxDEV = void 0;
+const _1 = require(".");
+function jsxDEV(tag, props) {
+ const children = props.children ?? [];
+ delete props['children'];
+ return (0, _1.jsx)(tag, props, children);
+}
+exports.jsxDEV = jsxDEV;