@rollipop/rolldown-debug 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @rolldown
|
|
1
|
+
# @rollipop/rolldown-debug
|
|
2
2
|
|
|
3
3
|
Utilities and generated TypeScript types for reading Rolldown devtools output.
|
|
4
4
|
|
|
@@ -16,7 +16,7 @@ node_modules/.rolldown/<session_id>/
|
|
|
16
16
|
|
|
17
17
|
```ts
|
|
18
18
|
import fs from 'node:fs';
|
|
19
|
-
import { parseToEvents, type Event, type StringRef } from '@rolldown
|
|
19
|
+
import { parseToEvents, type Event, type StringRef } from '@rollipop/rolldown-debug';
|
|
20
20
|
|
|
21
21
|
const data = fs.readFileSync('node_modules/.rolldown/<session_id>/logs.json', 'utf8');
|
|
22
22
|
const events = parseToEvents(data.trim());
|
|
@@ -33,7 +33,7 @@ Use `PackageGraphReady` to build a package table. In watch/rebuild sessions, `lo
|
|
|
33
33
|
|
|
34
34
|
```ts
|
|
35
35
|
import fs from 'node:fs';
|
|
36
|
-
import { parseToEvents, type Event, type StringRef } from '@rolldown
|
|
36
|
+
import { parseToEvents, type Event, type StringRef } from '@rollipop/rolldown-debug';
|
|
37
37
|
|
|
38
38
|
type ActionEvent = Exclude<Event, StringRef> & { build_id: string };
|
|
39
39
|
|