We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dfcd2a commit 95be69dCopy full SHA for 95be69d
src/features/report.ts
@@ -4,6 +4,7 @@ import { promisify } from 'node:util'
4
import { brotliCompress, gzip } from 'node:zlib'
5
import { bold, dim, green } from 'ansis'
6
import Debug from 'debug'
7
+import { RE_DTS } from 'rolldown-plugin-dts'
8
import { formatBytes } from '../utils/format'
9
import { noop } from '../utils/general'
10
import { logger, prettyFormat, prettyName } from '../utils/logger'
@@ -13,8 +14,6 @@ const debug = Debug('tsdown:report')
13
14
const brotliCompressAsync = promisify(brotliCompress)
15
const gzipAsync = promisify(gzip)
16
-const RE_DTS = /\.d\.[cm]?ts$/
17
-
18
interface SizeInfo {
19
filename: string
20
dts: boolean
0 commit comments