mirror of
https://github.com/denoland/deno.git
synced 2025-02-23 05:33:33 -05:00

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;
|