Commit b0e44778 authored by Matija Obreza's avatar Matija Obreza
Browse files

Fixed build: grunt out of memory

parent 37eedad7
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
"engines": { "engines": {
"node": ">=0.10.0" "node": ">=0.10.0"
}, },
"scripts": {
"memGrunt": "node --max-old-space-size=2000 node_modules/.bin/grunt"
},
"devDependencies": { "devDependencies": {
"grunt": "~1.0.1", "grunt": "~1.0.1",
"grunt-autoprefixer": "^3.0.4", "grunt-autoprefixer": "^3.0.4",
......
...@@ -677,11 +677,11 @@ ...@@ -677,11 +677,11 @@
<execution> <execution>
<id>grunt-build</id> <id>grunt-build</id>
<goals> <goals>
<goal>grunt</goal> <goal>npm</goal>
</goals> </goals>
<phase>generate-resources</phase> <phase>generate-resources</phase>
<configuration> <configuration>
<arguments>build --no-color --buildNumber=${buildNumber}</arguments> <arguments>run memGrunt -- --no-color --buildNumber=${buildNumber}</arguments>
<srcdir>${basedir}/src/main/sourceapp</srcdir> <srcdir>${basedir}/src/main/sourceapp</srcdir>
<outputdir>${basedir}/src/main/webapp/html</outputdir> <outputdir>${basedir}/src/main/webapp/html</outputdir>
<triggerfiles> <triggerfiles>
......
Supports Markdown
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