nuxt-content-assets 1.5.2 → 1.6.0

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.
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "1.5.2",
7
+ "version": "1.6.0",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
@@ -2,8 +2,8 @@
2
2
  * Common extensions
3
3
  */
4
4
  export declare const extensions: {
5
- image: string[];
6
5
  content: string[];
6
+ image: string[];
7
7
  media: string[];
8
8
  };
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  import { matchTokens } from "./string.js";
2
2
  export const extensions = {
3
- // used to get image size
4
- image: matchTokens("png jpg jpeg gif svg webp ico"),
5
3
  // used to recognise content
6
4
  content: matchTokens("md mdx json yml yaml csv"),
5
+ // used to get image size
6
+ image: matchTokens("png jpg jpeg gif svg webp ico avif bmp cur"),
7
7
  // unused for now
8
8
  media: matchTokens("mp3 m4a wav mp4 mov webm ogg avi flv avchd")
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-content-assets",
3
- "version": "1.5.2",
3
+ "version": "1.6.0",
4
4
  "description": "Enable locally-located assets in Nuxt Content",
5
5
  "repository": {
6
6
  "type": "git",