fix build (webapp): Add --include=dev arg to npm install
The apt repo finally updated npm from 8.X.X to 10.8.0. This broke the Spark.Admin.WebApp build because the new version doesn't install dev dependencies by default.
This commit is contained in:
1 parent
015d846941
commit
fc48cc64af
1 file changed
+1
-1
@@ -70,7 +70,7 @@ update_deps_file("${_build_admin_web_app_deps}")
|
||||
function(npm_install path)
|
||||
add_custom_command(
|
||||
OUTPUT ${path}/package-lock.json
|
||||
COMMAND "npm" ARGS "install"
|
||||
COMMAND "npm" ARGS "install" "--include=dev"
|
||||
DEPENDS ${path}/package.json
|
||||
WORKING_DIRECTORY ${path}
|
||||
COMMENT "Run 'npm install' in ${path}")
|
||||
|
||||
Reference in new issue
Block a user