forked from babel/babel
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a62538a
commit 4f70bd7
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
packages/babel-plugin-proposal-import-wasm-source/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# @babel/plugin-proposal-import-wasm-source-to-fetch | ||
# @babel/plugin-proposal-import-wasm-source | ||
|
||
> Transform source phase imports (`import source ... from '...'`) to `fetch` calls, assuming that the imported source is a WebAssembly module. | ||
> 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-to-fetch](https://babeljs.io/docs/babel-plugin-proposal-import-wasm-source-to-fetch) for more information. | ||
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-to-fetch | ||
npm install --save-dev @babel/plugin-proposal-import-wasm-source | ||
``` | ||
|
||
or using yarn: | ||
|
||
```sh | ||
yarn add @babel/plugin-proposal-import-wasm-source-to-fetch --dev | ||
yarn add @babel/plugin-proposal-import-wasm-source --dev | ||
``` |