diff --git a/core/plugins/http.ts b/core/plugins/http.ts index 36c584e..824be5c 100644 --- a/core/plugins/http.ts +++ b/core/plugins/http.ts @@ -182,7 +182,7 @@ export async function fetchAssets( export const FilePaths = ["", "/index"]; /** File extensions to probe */ -export const FileEndings = ["", ".js", ".mjs", ".ts", ".tsx", ".cjs", ".jsx", ".mts", ".cts"]; +export const FileEndings = ["", ".js", ".mjs", ".ts", ".tsx", ".cjs", ".jsx", ".mts", ".cts", ".json"]; /** All combinations of path + extension to try */ export const AllEndingVariants = Array.from(