Skip to content

Commit 1c1562b

Browse files
authored
docs: fix style (#4845)
1 parent 97fb73c commit 1c1562b

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

docs/configuration-options/index.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -817,10 +817,11 @@ By default, when creating multiple chunks, transitive imports of entry chunks wi
817817
818818
### output.inlineDynamicImports
819819
820-
| | |
821-
| --: | :-- |
822-
| Type: | `boolean` |
823-
| CLI: | `--inlineDynamicImports`/`--no-inlineDynamicImports` Default: `false` |
820+
| | |
821+
| -------: | :--------------------------------------------------- |
822+
| Type: | `boolean` |
823+
| CLI: | `--inlineDynamicImports`/`--no-inlineDynamicImports` |
824+
| Default: | `false` |
824825
825826
This will inline dynamic imports instead of creating new chunks to create a single bundle. Only possible if a single input is provided. Note that this will change the execution order: A module that is only imported dynamically will be executed immediately if the dynamic import is inlined.
826827
@@ -1560,9 +1561,9 @@ Any options that should be passed through to Acorn's `parse` function, such as `
15601561

15611562
### acornInjectPlugins
15621563

1563-
| | |
1564-
| ----: | :------------------- | ---------------------- |
1565-
| Type: | `AcornPluginFunction | AcornPluginFunction[]` |
1564+
| | |
1565+
| ----: | :--------------------------------------------- |
1566+
| Type: | `AcornPluginFunction \| AcornPluginFunction[]` |
15661567

15671568
A single plugin or an array of plugins to be injected into Acorn. For instance to use JSX syntax, you can specify
15681569

@@ -2319,8 +2320,9 @@ For each key, the first number represents the elapsed time while the second repr
23192320
## watch
23202321
23212322
| | |
2322-
| --: | :-- | --- |
2323-
| Type: | `{ buildDelay?: number, chokidar?: ChokidarOptions, clearScreen?: boolean, exclude?: string, include?: string, skipWrite?: boolean } | false`<br> Default: `{}` |
2323+
| --: | :-- |
2324+
| Type: | `{ buildDelay?: number, chokidar?: ChokidarOptions, clearScreen?: boolean, exclude?: string, include?: string, skipWrite?: boolean } \| false` |
2325+
| Default: | `{}` |
23242326
23252327
Specify options for watch mode or prevent this configuration from being watched. Specifying `false` is only really useful when an array of configurations is used. In that case, this configuration will not be built or rebuilt on change in watch mode, but it will be built when running Rollup regularly:
23262328

docs/plugin-development/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,8 +711,8 @@ function augmentWithDatePlugin() {
711711
### banner
712712

713713
| | |
714-
| --: | :-- | --- |
715-
| Type: | `string | ((chunk: ChunkInfo) => string)` |
714+
| --: | :-- |
715+
| Type: | `string \| ((chunk: ChunkInfo) => string)` |
716716
| Kind: | async, sequential |
717717
| Previous: | [`resolveFileUrl`](#resolvefileurl) for each use of `import.meta.ROLLUP_FILE_URL_referenceId` and [`resolveImportMeta`](#resolveimportmeta) for all other accesses to `import.meta` in the current chunk |
718718
| Next: | [`renderDynamicImport`](#renderdynamicimport) for each dynamic import expression in the next chunk if there is another one, otherwise [`renderChunk`](#renderchunk) for the first chunk |

0 commit comments

Comments
 (0)