cdoremus
cdoremus
DDeno
Created by cdoremus on 4/15/2024 in #help
How do you use Rollup with JSR or the npm: prefix?
@Deno AI Helper JSR refers to the new JavaScript Registry that the Deno team has created. I guess your "brain" needs to be updated. 🌝
4 replies
DDeno
Created by melkam on 1/13/2024 in #help
Typescript intelisense between jupyter notebooks
You might want to try this channel where the Deno Jupyter devs tend to hang out: https://discord.com/channels/684898665143206084/1066309002771845202
6 replies
DDeno
Created by Cajones on 4/12/2024 in #help
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
I tried the canary build and the JSX errors went away in each of my two main Fresh apps.
21 replies
DDeno
Created by Cajones on 4/12/2024 in #help
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
I was getting these JSX errors in Fresh in Deno v1.42.3. When I downgraded the version to 1.42.2 they went away.
21 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
Not sure. I'm sorry, but I'm busy with 'domestic activities' this week. So stay tuned.
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
Thanks Nick. I'm hoping to try this out tomorrow.
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
I'm not sure that adding WC deployment to Fresh 2.0 would have widespread appeal except to those like you and I that like to do Vanilla JS for the client side.
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
I'd like to concentrate on the blog post accompanying this code for now. The most complex thing about the prototype you suggested is the TS->JS transformation which is why I'd like to hook into what Deno does.
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
It would be nice to be able to bundle by hooking into the built-in TS->JS transforms that Deno uses.
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
I'd prefer to skip mod.ts and just have all the WC files bundled together into wc.esm.js.
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
BTW, this is the repo containing the file Nick was referring to: https://github.com/cdoremus/fresh-webcomponents
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
Yes, but as I explained above, it requires that I add each new Web Component file to mod.ts. I was hoping that there was an automated way to bundle all the files into the bundle rather than using mod.ts.
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
Thanks for your help, Marvin. I tried your suggestion, but it doesn't work for multiple input files where the outdir property needs to be used instead of outfile. In that case, bundle is ignored. Instead I went with a mod.ts file as described above.
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
Thank you, Coby, for the suggestion. I will check that out.
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
I thank you for your examples, Nick, but I'd rather not build my own way to do this. I would think that esbuild should be able to transform TS files into a single JS file. Does anybody know how to do this?
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
I'm looking to transform many TS files into a single JS file.
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
Does your code transform TS into JS?
20 replies
DDeno
Created by cdoremus on 3/26/2024 in #help
Is there a way to bundle multiple files into one file using `esbuild_deno_loader` and `esbuild`?
Yes, I ended up creating a mod.ts file that exported all the other files in that folder and used it for the entryPoints, but that requires that I update mod.ts everytime I create a new file. I'd like for new files to automatically be picked up by esbuild. This is for my Web Components work with Fresh, so the normal bundling that Fresh does not work here, because I the WC file bundle needs to end up in a static folder. I'd prefer to stick with TS here too.
20 replies