mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04:00
28aa489de9
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;
|