upped node memory

This commit is contained in:
tidusjar 2019-12-29 22:43:09 +00:00
parent 8ec8ff984f
commit 29cbf5aa03
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve --port 3578 --configuration hmr",
"build": "node --max_old_space_size=2048 node_modules/@angular/cli/bin/ng build --prod",
"build": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod",
"lint": "ng lint"
},
"private": true,

View file

@ -104,7 +104,7 @@
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
<Exec WorkingDirectory="$(SpaRoot)" Command="yarn install" />
<Exec WorkingDirectory="$(SpaRoot)" Command="yarn run build --prod" />
<Exec WorkingDirectory="$(SpaRoot)" Command="yarn run build" />
<ItemGroup>
<DistFiles Include="$(SpaRoot)dist\**; $(SpaRoot)dist-server\**" />
<DistFiles Include="$(SpaRoot)node_modules\**" Condition="'$(BuildServerSideRenderer)' == 'true'" />