refactor(contorller): only install npm production modules dont install everything
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user