upped node memory

pull/3338/head
tidusjar 5 years ago
parent 8ec8ff984f
commit 29cbf5aa03

@ -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,

@ -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'" />

Loading…
Cancel
Save