Commit e39b3f6
authored
feat(build): Add args and templates to rollup debugger plugin (#5085)
This makes two improvements to the rollup debugging plugin, which allows you to stick a breakpoint into any phase of the build process:
- It now collects the arguments passed to the hook function for that phase, so they can be examined in the debugger.
- The docstring now includes pre-built copies of the plugin (or, rather, calls to the plugin factory function) for every hook, so you can just copy any that you need over into the helper functions which create the rollup config.1 parent d9722dc commit e39b3f6
1 file changed
+31
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
57 | 86 | | |
58 | 87 | | |
59 | 88 | | |
60 | 89 | | |
61 | | - | |
| 90 | + | |
62 | 91 | | |
63 | 92 | | |
64 | 93 | | |
| |||
0 commit comments