diff options
author | Mark Otto <markdotto@gmail.com> | 2022-05-20 23:41:56 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2022-05-20 23:41:56 +0300 |
commit | 37c2d5f7384293ce1ba00302e8858c98d9fc93e3 (patch) | |
tree | 56b886d01cc4d7d0c53ecafae482445b2eefa639 | |
parent | d9af417cb0552594c7d7a1bdb22554a5d88cb84e (diff) |
eslint-skipjs-esm-shim
-rw-r--r-- | site/content/docs/5.2/getting-started/javascript.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/site/content/docs/5.2/getting-started/javascript.md b/site/content/docs/5.2/getting-started/javascript.md index 650cb333ef..0b79ef8912 100644 --- a/site/content/docs/5.2/getting-started/javascript.md +++ b/site/content/docs/5.2/getting-started/javascript.md @@ -41,6 +41,7 @@ We provide a version of Bootstrap built as `ESM` (`bootstrap.esm.js` and `bootst Compared to JS bundlers, using ESM in the browser requires you to use the full path and filename instead of the module name. [Read more about JS modules in the browser.](https://v8.dev/features/modules#specifiers) That's why we use `'bootstrap.esm.min.js'` instead of `'bootstrap'` above. However, this is further complicated by our Popper dependency, which imports Popper into our JavaScript like so: +<!-- eslint-skip --> ```js import * as Popper from "@popperjs/core" ``` |