Commit b0e44778 authored by Matija Obreza's avatar Matija Obreza

Fixed build: grunt out of memory

parent 37eedad7
......@@ -6,6 +6,9 @@
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"memGrunt": "node --max-old-space-size=2000 node_modules/.bin/grunt"
},
"devDependencies": {
"grunt": "~1.0.1",
"grunt-autoprefixer": "^3.0.4",
......
......@@ -677,11 +677,11 @@
<execution>
<id>grunt-build</id>
<goals>
<goal>grunt</goal>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>build --no-color --buildNumber=${buildNumber}</arguments>
<arguments>run memGrunt -- --no-color --buildNumber=${buildNumber}</arguments>
<srcdir>${basedir}/src/main/sourceapp</srcdir>
<outputdir>${basedir}/src/main/webapp/html</outputdir>
<triggerfiles>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment