Skip to content

Commit

Permalink
Fix relative imports in web app
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 31, 2024
1 parent e3638ba commit b0115a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions web/deno.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"tasks": {
"dev": "../bids-validator/build.ts && deno run -A --node-modules-dir npm:vite",
"build": "../bids-validator/build.ts && deno run -A --node-modules-dir npm:vite build",
"dev": "../build.ts && deno run -A --node-modules-dir npm:vite",
"build": "../build.ts && deno run -A --node-modules-dir npm:vite build",
"preview": "deno run -A --node-modules-dir npm:vite preview",
"serve": "deno run --allow-net --allow-read https://deno.land/[email protected]/http/file_server.ts dist/"
}
}
}
2 changes: 1 addition & 1 deletion web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react"
import "./App.css"
import { directoryOpen } from "https://esm.sh/[email protected]"
import { fileListToTree, validate } from "../dist/validator/main.js"
import type { ValidationResult } from "../../bids-validator/src/types/validation-result.ts"
import type { ValidationResult } from "../../src/types/validation-result.ts"
import { Collapse } from "./Collapse.tsx"
import { Summary } from "./Summary.tsx"

Expand Down

0 comments on commit b0115a8

Please sign in to comment.