Skip to content

Commit 09f04c5

Browse files
committed
Update Readme
1 parent 712a0dd commit 09f04c5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -246,16 +246,6 @@ import wasm from "https://esm.sh/@dqbd/tiktoken@1.0.3/tiktoken_bg.wasm?module";
246246
const { exports } = new WebAssembly.Instance(wasm, imports);
247247
```
248248

249-
### Fixing Named Exports
250-
251-
If you get an error like `...not provide an export named...`, that means esm.sh
252-
can't resolve named exports of the module correctly. You can add
253-
`?exports=foo,bar` query to specify the named exports:
254-
255-
```js
256-
import { render } from "https://esm.sh/react-dom@18.2.0?exports=render";
257-
```
258-
259249
## Using Import Maps
260250

261251
[**Import Maps**](https://github.com/WICG/import-maps) has been supported by

0 commit comments

Comments
 (0)