@@ -95,6 +95,7 @@ Many variables have default values and are therefore optional.
95
95
| `comment-prefix` | `.` | The character which follows `//` to signify documentation to transcribe. |
96
96
| `opening-delimiter` | `` ```javascript `` | The opening delimiter of doctest blocks in the source files. |
97
97
| `closing-delimiter` | `` ``` `` | The closing delimiter of doctest blocks in the source files. |
98
+ | `module-type` | `commonjs` | The module system doctest should use (`amd`, `commonjs`, or `esm`). |
98
99
| `version-tag-prefix` | `v` | The prefix of annotated version tags (`version-tag-prefix =` for no prefix). |
99
100
100
101
### Custom scripts
@@ -122,7 +123,7 @@ Runs [`doctest`↗︎][] with suitable `--module`, `--prefix`,
122
123
`--opening-delimiter`, and `--closing-delimiter` values.
123
124
124
125
Configurable via [variables][] (`source-files`, `comment-prefix`,
125
- `opening-delimiter`, `closing-delimiter`).
126
+ `opening-delimiter`, `closing-delimiter`, `module-type` ).
126
127
127
128
### `generate-readme`
128
129
@@ -190,7 +191,8 @@ undefined link references or unused link definitions.
190
191
Uses [`eslint`↗︎][] and [`eslint-plugin-markdown`↗︎][] to assert that the readme,
191
192
when built, will not contain examples which violate the project's style guide.
192
193
193
- Configurable via [variables][] (`opening-delimiter`, `closing-delimiter`).
194
+ Configurable via [variables][] (`opening-delimiter`, `closing-delimiter`
195
+ `module-type`).
194
196
195
197
### `prepublish`
196
198
0 commit comments