Transform source phase imports (
import source ... from '...'
) to work in browsers and Node.js, assuming that the imported source is a WebAssembly module.
See our website @babel/plugin-proposal-import-wasm-source for more information.
Using npm:
npm install --save-dev @babel/plugin-proposal-import-wasm-source
or using yarn:
yarn add @babel/plugin-proposal-import-wasm-source --dev