Thomas
Separate importmap file for static website
Okay, I'm probably a bit early. Client-side import map is probably still a thing of the future.
https://github.com/WICG/import-maps?tab=readme-ov-file#import-map-processing
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap
2 replies
No-terminal Seems to Not Work
@Glorwyn Yes, it is a bug. See https://github.com/denoland/deno/issues/21091
7 replies
reflect-metadata on Deno Deploy not working?
That is not very helpful. Especially not point 6, because my goal is to be able to use a dependency injection like in Angular, Nestjs, tsyringe or Danet on Deno Deploy.
The problem seems to be the compiler option
emitDecoratorMetadata
which is probably not supported on Deno Deploy (see https://github.com/denoland/deploy_feedback/issues/633).
Danet probably had the same problem and solved it by bundling the application. But deno bundle
is deprecated so I would have to use a third party bundler, which is not great either.6 replies
How to install jupyter using deno v1.41.x
My mistake. The "--unstable" flag is not necessary. If you execute the command without "--unstable", you get the following warning:
If you execute the command with "--unstable", you will receive the following warning:
But my mistake was that I forgot to install JupyterLab.
In the end everything seems to be correct.
4 replies
Import package from Azure DevOps repository
Why? It should work. See the documentation:
https://docs.deno.com/runtime/manual/basics/modules/private
11 replies
Import SCSS in TS files
I'm not sure, but Deno itself can't do anything with CSS or SCSS. Support for these files therefore seems rather inconsistent.
And, on the other hand, do we still need SCSS today (in the age of CSS3)?
And yes, ts-ignore is not a good solution, of course.
Maybe you can go a different way instead. Here is an example of how you could use CSS programmatically (probably for jsx?):
https://docs.deno.com/runtime/manual/advanced/jsx_dom/css
Not sure if this is helpful 😅
51 replies
How installing Silverbullet on deno
I found instructions for using it on Deno-Deploy on their github repo:
https://github.com/silverbulletmd/silverbullet/blob/main/website/Install/Deno%20Deploy.md
3 replies
Import SCSS in TS files
I'm not that familiar with lit and esbuild. But you are trying to compile a frontend with esbuild using Deno. And this seems to be successful (great :deno_thumbs_up:).
The Deno linter is not designed for frontend. Bug maybe you can exclude the frontend code for the deno-linter (deno.json) ....
...and configure eslint for your frontend instead?
51 replies