Skip to content

Commit 1ab4590

Browse files
committed
docs: reformat api docs
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent c744a7a commit 1ab4590

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,17 +219,23 @@ print(code.matchAll(regexp.DYNAMIC_IMPORT_REGEX))
219219

220220
## API
221221

222-
This package exports the identifiers `DYNAMIC_IMPORT_REGEX` and `STATIC_IMPORT_REGEX`. There is no default export.
222+
This package exports the identifiers `DYNAMIC_IMPORT_REGEX` and `STATIC_IMPORT_REGEX`.
223+
224+
There is no default export.
223225

224226
### `DYNAMIC_IMPORT_REGEX`
225227

226-
Dynamic `import` statement regex.
228+
- **Source**: [`src/import-dynamic.ts`](src/import-dynamic.ts)
229+
230+
Dynamic `import` statement regex. Ignores matches in comments.
227231

228232
**Requires unicode support ([flag `u`][4])**.
229233

230234
### `STATIC_IMPORT_REGEX`
231235

232-
Static `import` statement regex.
236+
- **Source**: [`src/import-static.ts`](src/import-static.ts)
237+
238+
Static `import` statement regex. Ignores matches in comments.
233239

234240
## Types
235241

0 commit comments

Comments
 (0)