{"library":"babel-preset-react-optimised","type":"library","category":null,"description":"A Babel preset that replaces React.createElement and React.createFragment with shorter local variable aliases (__jsx, __jsxFrag) to reduce minified bundle size. Current stable version is 1.0.0. This preset is a drop-in replacement for @babel/preset-react, offering a ~10% size reduction on typical React components. It is designed for production builds where every byte counts, but note that it reserves the variable names __jsx and __jsxFrag. The preset relies on @babel/core as a peer dependency and has no other dependencies. It is compatible with React JSX transforms and can be customized via pragma and pragmaFrag options.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install babel-preset-react-optimised","imports":["module.exports = { presets: ['babel-preset-react-optimised'] };"]},{"cmd":"yarn add babel-preset-react-optimised","imports":[]},{"cmd":"pnpm add babel-preset-react-optimised","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"babel-preset-react-optimised","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}