Skip to content

Commit

Permalink
Fix unreliable build.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Dec 1, 2024
1 parent 6a4ab50 commit aea1de9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build_logic/build.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as esbuild from "https://deno.land/x/[email protected]/mod.js";
import * as esbuild from "@esbuild/mod.js";
import { BUILD_DIR, ENTRYPOINT, SOURCES_DIR, build_bundle, clear_dir } from "./base.ts";

await clear_dir(BUILD_DIR);
Expand Down
3 changes: 2 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"@oak/oak": "jsr:@oak/oak@^17.1.3",
"@lambdaurora/lambdawebserver": "jsr:@lambdaurora/lambdawebserver@^3.0.0",
"@esbuild/": "https://deno.land/x/[email protected]/",
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.0"
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.0",
"@prism.js": "npm:[email protected]"
},
"compilerOptions": {
"lib": [
Expand Down
10 changes: 7 additions & 3 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/rendering_simple/script.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as html from "@lambdaurora/libhtml";
import * as md from "../../mod.ts";
import Prism from "https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js";
import "@prism.js";

await fetch("./example.md")
.then(response => {
Expand Down

0 comments on commit aea1de9

Please sign in to comment.