DenoDDeno
Powered by
scarfS
Deno•3y ago
scarf

restrict path applied for import maps

hi, is it possible to restrict importmap application to only specific path? the rationale is:
- vscode_deno doesn't support multiple deno.json per workspaces: https://github.com/denoland/vscode_deno/issues/701
- one needs to be published as a npm/deno library and the other is backend server, so library shouldn't be able to use import map

feels very xy problem, but i wasn't able to figure a better way. has anyone met similar problem? should i ditch importmap alltogether? thanks in advance.
image.png
GitHub
VSCode should provide indication of config file being used · Issue ...
Currently the status bar shows the current version of Deno, but it should also be able to identify the configuration file being used. The built-in TypeScript status provides a good example of what ...
VSCode should provide indication of config file being used · Issue ...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Cannot use import maps
kingbriKkingbri / help
17mo ago
Override npm import dep with import maps?
ZabiZZabi / help
4y ago
Using esbuild with import maps
kebKkeb / help
3y ago
Import from variable path?
PhatsoPPhatso / help
4y ago