diff options
author | Mark Otto <markdotto@gmail.com> | 2022-05-20 23:41:04 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2022-05-20 23:41:04 +0300 |
commit | d9af417cb0552594c7d7a1bdb22554a5d88cb84e (patch) | |
tree | 24be5e2f2aeeeacfc504f5a5c50a93d473be5f9c | |
parent | 0c35058f709ddb55f2a317a5d23f5bdf903bea03 (diff) |
edit
-rw-r--r-- | site/content/docs/5.2/getting-started/javascript.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.2/getting-started/javascript.md b/site/content/docs/5.2/getting-started/javascript.md index 2e5849f4fd..650cb333ef 100644 --- a/site/content/docs/5.2/getting-started/javascript.md +++ b/site/content/docs/5.2/getting-started/javascript.md @@ -39,7 +39,7 @@ We provide a version of Bootstrap built as `ESM` (`bootstrap.esm.js` and `bootst </script> ``` -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. This is further complicated by our Popper dependency, which imports Popper like so: +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: ```js import * as Popper from "@popperjs/core" |