D
Deno

help

Bundle without export

OOoker7/22/2023
Is it possible to have the output not having export... line?
NNeTT7/22/2023
I don't think so
OOoker7/23/2023
But why does it have it at the beginning? If I bundle all modules into a file, then surely I don't need to export it? No?
NNeTT7/23/2023
it is meant to bundle a "self-contained ES module" for use within Deno You'd usually bundle all your dependencies into one file and import just that one file And, bundle is getting deprecated anyway
OOoker7/23/2023
yeah, I can see that in the log. I just want to know if this is common in any bundler

Looking for more? Join the community!

Recommended Posts
LSP badly resolves relative imports between cached modulesI don't really understand this, but it looks to me like the LSP / VS Code has started resolving relaReason for "Following modules were not evaluated"What is the reason for "Following modules were not evaluated; make sure they are imported from otherdiscordav.deno.dev not working nowIm using discordav.deno.dev for get the discord profile picture from id. It was working yesterday buKV: What to return from here?```TS // Create City router.post('/cities', async (context) => { const data = await context.requLog Deno.command process outputi need to execute a command wich will keep running until stopped and log the output. i found this buUncaught TypeError: Cannot set properties of null (setting 'innerHTML')Code: var bcb = new WebSocket('wss://stream.binance.com:9443/ws/bnbusdt@trade'); bcb.onmessage = (It's hard to read that the font used in the official Deno website.On the official Deno website (deno.land), I think it difficult to distinguish between upper and lowePetition to free the module x/type from deno.landHere is the module url: https://deno.land/x/type It says it would be deleted after 30 days but has Docs on understanding how Fresh works under the hood.I want to start becoming a contributor for Fresh, I have been looking at PRs and reading documents wNode MongoDB Driver on Deno dropping connection and crashing processHeya folks. I am encountering the most recent error described in this thread https://github.com/denoHow to solve "cannot be invoked without 'new'" thrown from an NPM module ?Hello, An NPM module (which I don't own) uses `call` on something, which throws a `cannot be invokeCoverage with subprocessOne of my tests involves spawning a subprocess. Is there any way to get this subprocess to participaHow to exclude folder from deno lintI use WebStorm. How to exclude specific folder from deno lint? Is it possible in WebStorm? It is posTypeScript compiler type declarationsI'm using `import ts from "npm:typescript"` to work with the TypeScript compiler, but how do I get t