We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deno.json
package.json
Ran into this whilst hacking on an adapter for nitro.
nitro
{ "unstable": ["node-globals"], }
sub/foo.ts
console.log(`Buffer: ${typeof Buffer}`);
sub/package.json
deno run sub/foo.ts
Buffer
Full directory structure:
/ deno.json sub/ package.json foo.ts
Version: Deno 2.1.7+aeac5a6
The text was updated successfully, but these errors were encountered:
That's by design. You need to add the sub folder as a workspace member otherwise the package.json is considered a workspace of its own:
{ "workspace": ["./sub"], "unstable": ["node-globals"], }
Sorry, something went wrong.
No branches or pull requests
Ran into this whilst hacking on an adapter for
nitro
.Steps to reproduce
deno.json
with these contents:sub/foo.ts
with these contents:sub/package.json
deno run sub/foo.ts
->Buffer
is undefinedFull directory structure:
Version: Deno 2.1.7+aeac5a6
The text was updated successfully, but these errors were encountered: