@babel/plugin-proposal-import-wasm-source
Version:
Transform source phase imports (`import source ... from '...'`) to work in browsers and Node.js, assuming that the imported source is a WebAssembly module.
20 lines (12 loc) • 536 B
Markdown
# @babel/plugin-proposal-import-wasm-source
> 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](https://babeljs.io/docs/babel-plugin-proposal-import-wasm-source) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/plugin-proposal-import-wasm-source
```
or using yarn:
```sh
yarn add @babel/plugin-proposal-import-wasm-source --dev
```