bpev
bpev
DDeno
Created by Mqx on 9/13/2024 in #help
Using SolidJS with Deno
fwiw if you're just doing client-side rendering with esbuild and typescript, I have a few projects using that pattern you could check against. mmm I think this is the easiest one to share / simplest to read: https://github.com/bpevs/japanese.bpev.me specifically, build.ts is the magic file
14 replies
DDeno
Created by Necmttn | Craftgen.ai on 5/30/2024 in #help
Writing modules for multiple runtime ( Deno & browser ) + Monorepo setup?
jsr is basically made for distributing for multiple runtimes. However, monorepo structure is still kinda sus until deno 2.0 (p sure there's an issue for is somewhere, but I'd have to look). deno-std is a monorepo workspace; they keep it inline via scripts (in _tools). That might be a good place to look: https://github.com/denoland/deno_std
8 replies
DDeno
Created by bpev on 10/20/2023 in #help
How does Fresh run esbuild on Deploy without cache writes?
Ahh got it. I just added a build step to deploys for now, but maybe I'll play with that later. Thanks!
4 replies
DDeno
Created by Yui on 1/29/2023 in #help
Override npm import dep with import maps?
can you run dep from cdn url (skypack et all)? then maybe could use scopes: https://deno.land/manual@v1.30.0/basics/import_maps#overriding-imports actually come to think of it, I never actually tried to use with npm:, but seems sketchy
12 replies
DDeno
Created by Yui on 1/29/2023 in #help
Override npm import dep with import maps?
you mean like npm's package.json "overrides" ya? https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides afaik there isn't any equivalent rn. Is the dep public? The couple times I had small updates I needed in deps, I just forked and pointed to a raw github url... Oh man though this did just remind me of: https://github.com/ds300/patch-package this thing saved my butt a few times when i was engulfed in node dep hell...
12 replies