Commit 87a5e80
authored
🏗️🔧:let the minified script say so in its name
The stylesheet is built on the rule that `.min` is a claim about what
is inside a file, so only the build that minifies makes one. The script
was minified under the name it arrived with, which says the opposite of
what had happened to it.
It is `count.min.js` now, and the unminified copy does not go out
beside it. The tag asking for it sits inside the block that only
renders for production, so it names the minified file outright rather
than deciding again in a condition that cannot be false.
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Assisted-by: Claude-Code:claude-opus-5
PR-URL: #1868
Refs: #18671 parent 3657aa3 commit 87a5e80
2 files changed
Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
248 | 259 | | |
249 | 260 | | |
250 | 261 | | |
| |||
258 | 269 | | |
259 | 270 | | |
260 | 271 | | |
| 272 | + | |
261 | 273 | | |
| 274 | + | |
262 | 275 | | |
263 | | - | |
264 | | - | |
265 | | - | |
| 276 | + | |
266 | 277 | | |
267 | 278 | | |
268 | 279 | | |
| |||
0 commit comments