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 1491339 commit 47cbf12Copy full SHA for 47cbf12
packages/rspack/README.md
@@ -4,6 +4,23 @@
4
5
Injects Debug IDs into source and sourcemaps when using Rspack.
6
7
+Rspack v1.2.0 and later support debug IDs natively without any plugins. Just add `-debugids` to the end of any devtool option:
8
+
9
+`rspack.config.mjs`
10
+```ts
11
+export default {
12
+ entry: "./src/main.js",
13
+ mode: "production",
14
+ devtool: "source-map-debugids",
15
+ output: {
16
+ filename: "main.js",
17
+ path: "./dist",
18
+ },
19
+};
20
+```
21
22
+For older versions of webpack, you can use this plugin to inject debug IDs:
23
24
`rspack.config.mjs`
25
26
```ts
0 commit comments