refactor(contorller): only install npm production modules dont install everything

This commit is contained in:
2025-11-25 16:11:41 -06:00
parent 7311372ba8
commit c1816c07ff

View File

@@ -316,7 +316,7 @@ func runNPMInstall(rootDir string, folder string) error {
} else { } else {
folderDir = filepath.Join(rootDir, folder) folderDir = filepath.Join(rootDir, folder)
} }
cmd := exec.Command("npm", "install") cmd := exec.Command("npm", "install", "--production")
cmd.Dir = folderDir cmd.Dir = folderDir
cmd.Stdout = os.Stdout cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr