chore: move search-indexing, supress webpack-cli progress (#39367)

This commit is contained in:
Mrugesh Mohapatra
2020-08-09 04:17:10 +05:30
committed by GitHub
parent 6e16a50329
commit adef746299
17 changed files with 4 additions and 5 deletions
+3 -2
View File
@@ -83,9 +83,10 @@
],
"license": "MIT",
"scripts": {
"prebuild": "npm run build:workers && node ../tools/scripts/build/ensure-env.js",
"prebuild": "echo 'Client workers building...' && npm run build:workers && echo 'Client workers ready.' && node ../tools/scripts/build/ensure-env.js",
"build": "node --max_old_space_size=7168 node_modules/gatsby-cli build",
"build:workers": "node --max_old_space_size=7168 node_modules/webpack-cli --env.production --config ./webpack-workers.js --progress",
"build:workers": "node --max_old_space_size=7168 node_modules/webpack-cli --env.production --config ./webpack-workers.js && echo",
"build:workers:debug": "node --max_old_space_size=7168 node_modules/webpack-cli --env.production --config ./webpack-workers.js --progress",
"clean": "gatsby clean",
"predevelop": "npm run prebuild",
"develop": "node --inspect=0.0.0.0:9228 node_modules/gatsby-cli develop",