Skip to content

Commit

Permalink
feat(host): Include jsxRuntime and jsxDevRuntime in host
Browse files Browse the repository at this point in the history
GitOrigin-RevId: d5412936098c3fb2b4e0a87c5bd21fa791075d87
  • Loading branch information
FMota0 authored and actions-user committed Feb 13, 2025
1 parent 7be4c7e commit 909b3fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/host/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import * as PlasmicQuery from "@plasmicapp/query";
import * as React from "react";
import * as ReactDOM from "react-dom";
import * as jsxDevRuntime from "react/jsx-dev-runtime";
import * as jsxRuntime from "react/jsx-runtime";
import { registerRenderErrorListener, setPlasmicRootNode } from "./canvas-host";
import * as hostModule from "./exports";
import { setRepeatedElementFn } from "./repeatedElement";
Expand All @@ -21,6 +23,8 @@ if (root.__Sub == null) {
root.__Sub = {
React,
ReactDOM,
jsxRuntime,
jsxDevRuntime,
PlasmicQuery,
hostModule,
hostVersion,
Expand Down

0 comments on commit 909b3fe

Please sign in to comment.