Skip to content

Commit ece6bec

Browse files
committed
docs(guides): avoid code in heading
1 parent d6b8125 commit ece6bec

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/content/guides/code-splitting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ As you can see there's another `runtime.bundle.js` file generated besides `share
205205

206206
Although using multiple entry points per page is allowed in webpack, it should be avoided when possible in favor of an entry point with multiple imports: `entry: { page: ['./analytics', './app'] }`. This results in a better optimization and consistent execution order when using `async` script tags.
207207

208-
### `SplitChunksPlugin`
208+
### SplitChunksPlugin
209209

210210
The [`SplitChunksPlugin`](/plugins/split-chunks-plugin/) allows us to extract common dependencies into an existing entry chunk or an entirely new chunk. Let's use this to de-duplicate the `lodash` dependency from the previous example:
211211

src/content/guides/dependency-management.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The context module also contains some runtime logic to access the map.
6363

6464
This means dynamic requires are supported but will cause all matching modules to be included in the bundle.
6565

66-
## `require.context`
66+
## require.context
6767

6868
You can create your own context with the `require.context()` function.
6969

src/content/guides/package-exports.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ These conditions might also be set additionally:
201201

202202
(1) `import` and `require` are both set independent of referencing syntax. `require` has always lower priority.
203203

204-
#### `import`
204+
#### import
205205

206206
The following syntax will set the `import` condition:
207207

@@ -215,7 +215,7 @@ The following syntax will set the `import` condition:
215215
- JS `Worklet.addModule`
216216
- Using javascript as entrypoint
217217

218-
#### `require`
218+
#### require
219219

220220
The following syntax will set the `require` condition:
221221

@@ -228,22 +228,22 @@ The following syntax will set the `require` condition:
228228
- CommonJs HMR (webpack) `module.hot.accept/decline([...])`
229229
- HTML `<script src="...">`
230230

231-
#### `style`
231+
#### style
232232

233233
The following syntax will set the `style` condition:
234234

235235
- CSS `@import`
236236
- HTML `<link rel="stylesheet">`
237237

238-
#### `asset`
238+
#### asset
239239

240240
The following syntax will set the `asset` condition:
241241

242242
- CSS `url()`
243243
- ESM `new URL(..., import.meta.url)`
244244
- HTML `<img src="...">`
245245

246-
#### `script`
246+
#### script
247247

248248
The following syntax will set the `script` condition:
249249

0 commit comments

Comments
 (0)