10 lines
219 B
Nix
10 lines
219 B
Nix
|
{ pkgs ? import ./nix {} }:
|
||
|
{
|
||
|
production = pkgs.npmlock2nix.build {
|
||
|
src = ./.;
|
||
|
installPhase = "cp -r dist $out";
|
||
|
buildCommands = [ "npm run build" ];
|
||
|
};
|
||
|
shell = import ./shell.nix { inherit pkgs; };
|
||
|
}
|