Skip to content

Commit

Permalink
revert to esm.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
magurotuna committed May 6, 2024
1 parent dd53fe2 commit cb6d961
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion www/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"twind/": "https://esm.sh/[email protected]/",
"@twind/core": "https://esm.sh/@twind/[email protected]",
"@twind/preset-tailwind": "https://esm.sh/@twind/[email protected]/",
"@twind/preset-autoprefix": "https://esm.sh/@twind/[email protected]/"
"@twind/preset-autoprefix": "https://esm.sh/@twind/[email protected]/",
"ansi-to-html": "https://esm.sh/v130/[email protected]",
"monaco-editor-loader": "https://esm.sh/v130/@monaco-editor/[email protected]"
},
"lint": { "rules": { "tags": ["fresh", "recommended"] } },
"exclude": ["**/_fresh/*"]
Expand Down
2 changes: 1 addition & 1 deletion www/islands/Linter.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { instantiate, run } from "../static/deno_lint.generated.js";
import { useEffect, useMemo } from "preact/hooks";
import { type Signal, useComputed, useSignal } from "@preact/signals";
import Convert from "npm:ansi-to-html@0.7.2";
import Convert from "ansi-to-html";
import { type SupportedLanguages } from "./MonacoEditor.tsx";
import { unreachable } from "@std/assert/unreachable";

Expand Down
2 changes: 1 addition & 1 deletion www/islands/MonacoEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useRef } from "preact/hooks";
import { type Signal, useSignal } from "@preact/signals";
import loader, { type Monaco } from "npm:@monaco-editor/loader@1.3.3";
import loader, { type Monaco } from "monaco-editor-loader";

export const supportedLanguages = [
"TypeScript",
Expand Down

0 comments on commit cb6d961

Please sign in to comment.