Support
import defer
when compiling to CommonJS
See our website @babel/plugin-proposal-import-defer for more information.
Using npm:
npm install --save-dev @babel/plugin-proposal-import-defer
or using yarn:
yarn add @babel/plugin-proposal-import-defer --dev