You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,23 +83,34 @@ The determination of whether the `type` attribute is part of the module cache ke
83
83
84
84
### Is there any prior art?
85
85
86
-
Deno 2.4 added support in [July 2025](https://deno.com/blog/v2.4).
86
+
Deno 2.4 added support in [July 2025](https://deno.com/blog/v2.4) to inline a Uint8Array
87
87
88
88
```js
89
89
importimageBytesfrom"./image.png" with { type: "bytes" };
90
90
```
91
91
92
-
Bun 1.1.5 added a similar feature in [April 2024](https://bun.sh/blog/bun-v1.1.5).
92
+
Bun 1.1.7 added a similar feature in [May 2024](https://bun.sh/blog/bun-v1.1.7) to inline a string of text
93
93
94
94
```js
95
95
importhtmlfrom"./index.html" with { type: "text" };
96
96
```
97
97
98
-
Webpack has[asset modules](https://webpack.js.org/guides/asset-modules/) to inline a data URI via [url-loader](https://www.npmjs.com/package/url-loader) and now `asset/inline`.
98
+
webpack added[asset modules](https://webpack.js.org/guides/asset-modules/) to inline a base64 data URI via [url-loader](https://www.npmjs.com/package/url-loader)in 4.x and now `asset/inline` in 5.x
0 commit comments