Increase HEAP space for Instant

This commit is contained in:
Jacob Evans
2019-10-03 17:11:55 -07:00
parent 52d38c63de
commit d4729e2669
3 changed files with 3 additions and 2 deletions

View File

@@ -65,7 +65,7 @@
},
{
"path": "packages/instant/umd/instant.js",
"maxSize": "1460kB"
"maxSize": "1960kB"
}
],
"ci": {

View File

@@ -8,7 +8,7 @@
"description": "0x Instant React Component",
"main": "umd/instant.js",
"scripts": {
"build": "webpack --mode production",
"build": "NODE_ENV=production node --max_old_space_size=8192 ../../node_modules/.bin/webpack --mode production",
"build:dev": "webpack --mode development",
"build:ci": "yarn build",
"dev": "dotenv webpack-dev-server -- --mode development",

View File

@@ -34,6 +34,7 @@ export class MeshOrderProvider extends BaseOrderProvider {
: new BigNumber(0);
// TODO(dekz): Remove the any hack when mesh is published v3
return {
// tslint:disable:no-unnecessary-type-assertion
order: orderEvent.signedOrder as any,
metaData: {
orderHash: orderEvent.orderHash,