Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for import-map #98

Closed
grenierdev opened this issue Jan 12, 2022 · 5 comments · Fixed by #103
Closed

Support for import-map #98

grenierdev opened this issue Jan 12, 2022 · 5 comments · Fixed by #103
Assignees
Labels
enhancement New feature or request

Comments

@grenierdev
Copy link

I'm building a library of multiple packages under /modules folder, called Baseless. I've both configured an importmap.json while developing to redirect import to the local version. Everything works fine with the Deno CLI and with VSCode.

Is there a way to specify the path to my import map to build?

@dsherret dsherret added the enhancement New feature or request label Jan 12, 2022
@grenierdev
Copy link
Author

I've published my experimental branch that uses dnt to build all my modules. I've commented out this line in my build.ts that build the module provider-mail-sendgrid but can't find modules that would otherwise be found with the import-map.

If I can help in any way, let me know!

@dsherret
Copy link
Member

dsherret commented Jan 14, 2022

@grenierdev there is a new importMap property in 0.16:

dnt/mod.ts

Lines 88 to 89 in 1c9b2c5

/** Path or url to import map. */
importMap?: string;

Let me know if you run into any trouble.

@okikio
Copy link

okikio commented Jun 17, 2022

@dsherret Can you please add this to the docs for dnt

@dsherret
Copy link
Member

@okikio opened #178. For the future, I'd recommend opening new issues for action items. It's very easy for a comment to get lost in old closed/resolved issues or PRs.

@okikio
Copy link

okikio commented Jun 17, 2022

Oh, ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants