Skip to content

Commit

Permalink
Remove npx since npm run adds 'node_modules/.bin' to path
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepnschrodinger committed Dec 2, 2023
1 parent 283cc2d commit aea3e64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build_helpers/buildStaticSite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -e
rm -rf ./__site__
rm -rf ./__site_prerender__
./build_helpers/buildAPIDocs.sh
NODE_ENV=production npx webpack --config "$PWD/site/webpack-client.config.js"
NODE_ENV=production npx webpack --config "$PWD/site/webpack-prerender.config.js"
NODE_ENV=production webpack --config "$PWD/site/webpack-client.config.js"
NODE_ENV=production webpack --config "$PWD/site/webpack-prerender.config.js"
NODE_ENV=production ./build_helpers/buildSiteIndexPages.sh
6 changes: 3 additions & 3 deletions build_helpers/startSiteDevServer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
rm -rf ./__site__
rm -rf ./__site_prerender__
./build_helpers/buildAPIDocs.sh
npx webpack --config "$PWD/site/webpack-client.config.js"
npx webpack --config "$PWD/site/webpack-prerender.config.js"
webpack --config "$PWD/site/webpack-client.config.js"
webpack --config "$PWD/site/webpack-prerender.config.js"
./build_helpers/buildSiteIndexPages.sh
npx webpack-dev-server --config "$PWD/site/webpack-client.config.js"
webpack-dev-server --config "$PWD/site/webpack-client.config.js"

0 comments on commit aea3e64

Please sign in to comment.