boxwood 0.72.0 → 0.72.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -438,6 +438,9 @@ function extension(path) {
438
438
 
439
439
  function media(path) {
440
440
  const type = extension(path)
441
+ if (type === "svg") {
442
+ return "image/svg+xml"
443
+ }
441
444
  return `image/${type === "jpg" ? "jpeg" : type}`
442
445
  }
443
446
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boxwood",
3
- "version": "0.72.0",
3
+ "version": "0.72.1",
4
4
  "description": "Compile HTML templates into JS",
5
5
  "main": "index.js",
6
6
  "scripts": {