Commit 09db533
Add CSS asset loader integration fixture and assertions
References a .gif (dataurl loader) and .woff2 (file loader) from global.css.
The test now asserts that the output CSS contains a base64-inlined data URL for
the image, and that the woff2 font was emitted as a separate file. This catches
regressions where esbuild would error on unrecognized file extensions in CSS.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent bd3cfea commit 09db533
4 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
106 | 121 | | |
107 | 122 | | |
108 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Loading
0 commit comments