Skip to content

Commit

Permalink
idx support
Browse files Browse the repository at this point in the history
  • Loading branch information
desujoy committed Jan 16, 2024
1 parent d5d79cc commit e6b4f02
Show file tree
Hide file tree
Showing 3 changed files with 821 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .idx/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

gc/
18 changes: 18 additions & 0 deletions .idx/dev.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ pkgs, ... }: {
channel = "stable-23.11"; # "stable-23.11" or "unstable"
packages = [
pkgs.nodejs
pkgs.nodePackages.firebase-tools
];

idx.previews = {
enable = true;
previews = [
{
command = ["npm" "run" "start" "--" "--port" "$PORT" "--host" "0.0.0.0"];
manager = "web";
id = "web";
}
];
};
}
Loading

0 comments on commit e6b4f02

Please sign in to comment.