Merge branch 'preview-misc-fixes-2' into preview-misc-fixes-2-themed

This commit is contained in:
Art Lowel
2019-05-17 14:36:50 +02:00
7 changed files with 35 additions and 26 deletions

13
webpack/run-webpack.js Normal file
View File

@@ -0,0 +1,13 @@
const path = require('path');
const child_process = require('child_process');
const heapSize = 4096;
const webpackPath = path.join('node_modules', 'webpack', 'bin', 'webpack.js');
const params = [
'--max_old_space_size=' + heapSize,
webpackPath,
...process.argv.slice(2)
];
child_process.spawn('node', params, { stdio:'inherit' });