docs: update formatting for mdx3 compatibility (#42052)
docs: update formatting for mdx3 compat
This commit is contained in:
parent
d5c8f2d6d9
commit
c3c4173377
8 changed files with 12 additions and 9 deletions
|
@ -78,7 +78,8 @@ JavaScript transpilers (e.g. Babel, TypeScript) have historically supported ES M
|
|||
syntax before Node.js supported ESM imports by turning these calls to CommonJS
|
||||
`require` calls.
|
||||
|
||||
<details><summary>Example: @babel/plugin-transform-modules-commonjs</summary>
|
||||
<details>
|
||||
<summary>Example: @babel/plugin-transform-modules-commonjs</summary>
|
||||
|
||||
The `@babel/plugin-transform-modules-commonjs` plugin will transform
|
||||
ESM imports down to `require` calls. The exact syntax will depend on the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue