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 3e7094c commit 327d48dCopy full SHA for 327d48d
packages/rollup/README.md
@@ -4,6 +4,24 @@
4
5
Injects Debug IDs into source and sourcemaps when using Rollup.
6
7
+Rollup v4.25.0 and later support debug IDs natively without any plugins:
8
+
9
+`rollup.config.mjs`
10
11
+```ts
12
+export default {
13
+ input: "./src/main.js",
14
+ output: {
15
+ dir: "dist",
16
+ format: "esm",
17
+ sourcemap: true,
18
+ sourcemapDebugIds: true,
19
+ },
20
+};
21
+```
22
23
+For older versions of Rollup, you can use this plugin to inject debug IDs:
24
25
`rollup.config.mjs`
26
27
```ts
0 commit comments