one
Version:
One is a new React Framework that makes Vite serve both native and web.
11 lines (10 loc) • 315 B
JavaScript
import { afterClientRender } from "./render.mjs";
import "expo-modules-core/src/web/index.web.ts";
process.env.ONE_ENABLE_REACT_SCAN && import("react-scan").then(({
scan
}) => {
afterClientRender(() => {
scan(JSON.parse(`${process.env.ONE_ENABLE_REACT_SCAN}`));
});
});
//# sourceMappingURL=setup.mjs.map