#TypeError Dynamic import is not enabled in this context.
4 messages · Page 1 of 1 (latest)
4 messages · Page 1 of 1 (latest)
When importing using import(library/api/discord/commands/) and import(../../library/api/discord/commands/test.ts) locally everything works fine. When running the same code on deno deploy i get the error "TypeError: Dynamic import is not enabled in this context."
Is there some kind of setting I have to change or a different way to import?
deploy currently doesnt support dynamic imports
what would be a different way that i could access the data from another file?