* Mark transpiled JSX elements as pure * Avoid duble annotation * Add "pure" option to the React preset * Fix generator indentation * Update tests * Add tests for the "pure" option * Update windows fixtures
6 lines
118 B
JavaScript
6 lines
118 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
|
var div = /*#__PURE__*/_jsx(Component, { ...props,
|
|
foo: "bar"
|
|
});
|