mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 23:53:25 -06:00
azuremonitor: increase memory for webpack build
The gigantic monaco dependency needs more memory so it fails on CircleCI with the default memory allocation of 2GB for a worker.
This commit is contained in:
parent
e4f4cb814c
commit
e813a6d522
@ -1,4 +1,4 @@
|
||||
module.exports = function (config, grunt) {
|
||||
module.exports = function(config, grunt) {
|
||||
'use strict';
|
||||
|
||||
return {
|
||||
@ -19,6 +19,7 @@ module.exports = function (config, grunt) {
|
||||
src: ['public/app/**/*.ts*'],
|
||||
},
|
||||
jest: 'node ./node_modules/jest-cli/bin/jest.js --maxWorkers 2',
|
||||
webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
|
||||
webpack:
|
||||
'node --max-old-space-size=4096 ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user