Dan Rumney
Dan Rumney
DDeno
Created by Dan Rumney on 3/20/2024 in #help
Is there a way to handle subpath imports within a library?
I'm trying to convert a library package to work with deno. Internally, the package makes a bunch of (different) subpath imports from another library of ours. If this were an application making these imports, I'd just use an import map. However, the docs are pretty clear that, for a library, you should create a deps.ts. The problem with this is that I have to enumerate every single subpath import in the deps file to make it available to other files. Is there a pattern for import map style mappings, for a library?
3 replies
DDeno
Created by Dan Rumney on 3/29/2023 in #help
Are there any plans to support an equivalent to emitDecoratorMetadata?
That's it really... I appreciate that Deno doesn't emit anything, so the option would be different, but access to metadata in decorators is incredibly useful for things like DI and other cross-cutting concerns.
1 replies