UNPKG

vite-plugin-react-server

Version:
12 lines (10 loc) 294 B
/** * vite-plugin-react-server * Copyright (c) Nico Brinkkemper * MIT License */ const getCondition = () => { return process.env["NODE_OPTIONS"]?.match(/--condition[= ]react-server/) ? "react-server" : "react-client"; }; export { getCondition }; //# sourceMappingURL=getCondition.js.map