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
Hi, it seems like deno_emit fails to handle node:* specifiers. Here is a repro:
node:*
// main.ts import * as fs from 'node:fs'; fs.writeFileSync('message.txt', 'Hello world!');
// _bundler.ts import { bundle } from 'jsr:@deno/emit'; const [mod] = Deno.args; const { code } = await bundle(mod); const bytes = new TextEncoder().encode(code); const location = import.meta.resolve(mod).replace(/\.ts$/, '.js'); Deno.writeFileSync(location, bytes);
Execute it with: deno run -A _bundler.ts main.ts
deno run -A _bundler.ts main.ts
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, it seems like deno_emit fails to handle
node:*
specifiers.Here is a repro:
Execute it with:
deno run -A _bundler.ts main.ts
The text was updated successfully, but these errors were encountered: