2saturdayscode
Cant configure Tailwind with DaisyUI using Deno inside of Docker | Error: Cannot find module daisyui
I guess that tailwind tries to look into
node_modules
folder to resolve daisyui
but it doesn't find it because deno does not use the node_modules
dir3 replies
Access project dependency through Deno API
Also I've made a rewrite of that plugin, I'd be glad if you tried it out:
https://github.com/twosaturdayscode/esbuild-deno-plugin
8 replies
Access project dependency through Deno API
yeah that's because esbuild is tailored for node projects, but fortunately esbuild supports plugin to extend its functionalities, try using this plugin:
https://github.com/lucacasonato/esbuild_deno_loader/
8 replies
S is Not Async Iterable
third all the @std packages are on jsr now so don't use deno.land
https://jsr.io/@std
6 replies
How to resolve an import statement in Deno
also I've found that maybe you can can omit file extension by enabling an unstable feature in the deno config file like this
Read more about it here: https://docs.deno.com/runtime/manual/tools/unstable_flags/#--unstable-sloppy-imports
16 replies