Updated docs for ESM import.

This commit is contained in:
Richard Moore 2020-07-04 22:46:47 -04:00
parent 0838135d4a
commit 2a73b6ed34
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

@ -38,8 +38,10 @@ Web Applications from our CDN.
_code: ES6 in the Browser @lang<html>
<script src="https://cdn.ethers.io/lib/ethers-5.0.esm.min.js"
type="application/javascipt"></script>
<script type="module">
import { ethers } from "https://cdn.ethers.io/lib/ethers-5.0.esm.min.js";
// Your code here...
</script>
_code: ES3 (UMD) in the Browser @lang<html>