D
Deno
Change Theme
Search Answer Overflow
Login
bbunks
Posts
Comments
D
Deno
•
Created by w7a9q on 11/8/2024 in
#help
Getting version out of deno.json
import packageInfo from "./deno.json" with { type: "json" };
import packageInfo from "./deno.json" with { type: "json" };
This is how i got the version out for the CLI i was working on, but it does import the entire json file.
5 replies
D
Deno
•
Created by w7a9q on 11/8/2024 in
#help
Getting version out of deno.json
As far as I am aware, the compile step is just bundling the js into a single executable. I have not seen any way to make compiler flags or code replacement.
5 replies
D
Deno
•
Created by w7a9q on 11/8/2024 in
#help
Getting version out of deno.json
What are you using for the build step?
5 replies