deno2.nix/nix/internal/find-import-map.nix
SnO₂WMaN 21efd7ac82
feat: Update for deno2nix v2 (#21)
* move simple script to `examples/simple`

* rm vscode settings.json

* example npm

* wip

* refactoring

* Update mkExecutable

* rm custom formatter  from vscode extensions

* Add .gitignore

* Update flake.nix

* bundled/executable wip

* Update flake

* importMap

* bundled wrapper

* somerefactoring

* no more overlay(default)

* add todo

* Update README.md
2022-12-14 13:00:56 +09:00

11 lines
183 B
Nix

{lib, ...}: let
inherit (lib) importJSON;
in
{
src,
config,
importMap,
}:
# TODO: if importMap is exists, fallback
((importJSON (src + "/${config}")).importMap)