Commit 3209438
authored
fix(minify): add error context to minification errors (#10)
* Initial plan
* fix(minify): add error context (file name, location, source snippet) to minification errors
Agent-Logs-Url: https://github.com/fz6m/lightningcss-loader/sessions/7bee3cf6-fc1a-4c91-9306-bbfc4cfdddf8
* fix(minify): address review feedback - use unknown type and guard loc.column
Agent-Logs-Url: https://github.com/fz6m/lightningcss-loader/sessions/7bee3cf6-fc1a-4c91-9306-bbfc4cfdddf8
* fix(minify): use template strings, array join, and Error cause per review
Agent-Logs-Url: https://github.com/fz6m/lightningcss-loader/sessions/9fa6e350-3a04-4ac0-9969-7ef873718216
* chore: revert unintended pnpm-lock.yaml changes
Agent-Logs-Url: https://github.com/fz6m/lightningcss-loader/sessions/9fa6e350-3a04-4ac0-9969-7ef873718216
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>1 parent 7f3601a commit 3209438
1 file changed
+42
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
125 | 158 | | |
126 | 159 | | |
127 | 160 | | |
| |||
0 commit comments