cdoremus
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
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
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
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
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
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
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
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