Skip to content

Commit df935e9

Browse files
dhurlburtusamontogeek
authored andcommitted
chore(api) Change Heading Level of "Magic Comments" Section (#2931)
The "Magic Comments" section applies to the `import()` (level-3) sub-section of the `ES6` (level: 2) section. Changing to level-4 will make it clear that the magic comments apply to `ES6` > `import()`.
1 parent 8bcef8d commit df935e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/api/module-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if ( module.hot ) {
7474

7575
W> This feature relies on [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) internally. If you use `import()` with older browsers, remember to shim `Promise` using a polyfill such as [es6-promise](https://github.com/stefanpenner/es6-promise) or [promise-polyfill](https://github.com/taylorhakes/promise-polyfill).
7676

77-
## Magic Comments
77+
#### Magic Comments
7878

7979
Inline comments to make features work. By adding comments to the import we can do things such as name our chunk or select different modes. For a full list of these magic comments see the code below followed by an explanation of what these comments do.
8080

0 commit comments

Comments
 (0)