Skip to content

Commit

Permalink
fix: increase memory requirement for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Apr 29, 2021
1 parent 57bb2e5 commit 38be72f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions examples/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"build-sample": "cross-env NODE_OPTIONS=--max_old_space_size=10240 gatsby clean && gatsby build",
"start": "cross-env NODE_OPTIONS=--max_old_space_size=10240 gatsby develop -p 9020"
"build-sample": "cross-env NODE_OPTIONS=--max_old_space_size=20480 gatsby clean && gatsby build",
"start": "cross-env NODE_OPTIONS=--max_old_space_size=20480 gatsby develop -p 9020"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"build-sample": "cross-env NODE_OPTIONS=--max_old_space_size=10240 rm -rf .next && rm -rf dist && rm -rf out && next build && next export",
"server": "cross-env NODE_OPTIONS=--max_old_space_size=10240 next build && next start -p 9021",
"start": "cross-env NODE_OPTIONS=--max_old_space_size=10240 next -p 9021",
"build-sample": "cross-env NODE_OPTIONS=--max_old_space_size=20480 rm -rf .next && rm -rf dist && rm -rf out && next build && next export",
"server": "cross-env NODE_OPTIONS=--max_old_space_size=20480 next build && next start -p 9021",
"start": "cross-env NODE_OPTIONS=--max_old_space_size=20480 next -p 9021",
"debug": "NODE_OPTIONS='--inspect' next -p 9021"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions examples/react-webpack-5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "cross-env NODE_OPTIONS=--max_old_space_size=10240 webpack serve --config webpack.dev.config.ts --progress",
"build-sample": "cross-env NODE_OPTIONS=--max_old_space_size=10240 rm -rf public && webpack --config webpack.prod.config.ts --progress"
"start": "cross-env NODE_OPTIONS=--max_old_space_size=20480 webpack serve --config webpack.dev.config.ts --progress",
"build-sample": "cross-env NODE_OPTIONS=--max_old_space_size=20480 rm -rf public && webpack --config webpack.prod.config.ts --progress"
},
"dependencies": {
"@component-controls/react-router-integration": "^3.8.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/react-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "cross-env NODE_OPTIONS=--max_old_space_size=10240 webpack serve --config webpack.dev.config.js --progress",
"build-sample": "cross-env NODE_OPTIONS=--max_old_space_size=10240 rm -rf public && webpack --config webpack.prod.config.js --progress"
"start": "cross-env NODE_OPTIONS=--max_old_space_size=20480 webpack serve --config webpack.dev.config.js --progress",
"build-sample": "cross-env NODE_OPTIONS=--max_old_space_size=20480 rm -rf public && webpack --config webpack.prod.config.js --progress"
},
"dependencies": {
"@component-controls/react-router-integration": "^3.8.1",
Expand Down

0 comments on commit 38be72f

Please sign in to comment.