mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 11:27:57 -05:00
75735fbf7f
This is the initial support for npm and node specifiers in `deno compile`. The npm packages are included in the binary and read from it via a virtual file system. This also supports the `--node-modules-dir` flag, dependencies specified in a package.json, and npm binary commands (ex. `deno compile --unstable npm:cowsay`) Closes #16632
11 lines
160 B
JavaScript
11 lines
160 B
JavaScript
let value = 0;
|
|
|
|
export function setValue(newValue) {
|
|
value = newValue;
|
|
}
|
|
|
|
export function getValue() {
|
|
return value;
|
|
}
|
|
|
|
export const url = import.meta.url;
|