21efd7ac82
* 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
11 lines
183 B
Nix
11 lines
183 B
Nix
{lib, ...}: let
|
|
inherit (lib) importJSON;
|
|
in
|
|
{
|
|
src,
|
|
config,
|
|
importMap,
|
|
}:
|
|
# TODO: if importMap is exists, fallback
|
|
((importJSON (src + "/${config}")).importMap)
|