Devon Govett 6ba1f0dd22
Implement @babel/plugin-transform-react-pure-annotations (#11428)
The new plugin is also enabled in `@babel/preset-react`
2020-05-24 22:55:29 +02:00

3 lines
107 B
JavaScript

import React from 'react';
const SomeComponent = /*#__PURE__*/React.lazy(() => import('./SomeComponent'));