Skip to content

Commit

Permalink
fix: handle .d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hansSchall committed Sep 27, 2024
1 parent 909f33e commit 0ac389c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deno-plc/vite-plugin-deno",
"version": "2.1.4",
"version": "2.1.5",
"exports": "./mod.ts",
"compilerOptions": {
"lib": [
Expand Down
2 changes: 1 addition & 1 deletion src/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const DenoInfoModule = z.union([
z.object({
kind: z.literal("esm"),
specifier: z.string().transform(parseModuleSpecifier),
mediaType: z.enum(["TypeScript", "JavaScript", "TSX"]),
mediaType: z.enum(["TypeScript", "JavaScript", "TSX", "Dts"]),
dependencies: z.object({
specifier: z.string(),
type: DenoInfoImport.optional(),
Expand Down

0 comments on commit 0ac389c

Please sign in to comment.