Skip to content

Commit 21684ca

Browse files
committed
run now-build.sh
1 parent bbf42f2 commit 21684ca

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/now-build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
pushd ..
3+
npm install
4+
npm run dist
5+
popd
6+
npm run build

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"clean": "gatsby clean",
77
"develop": "gatsby develop -H 0.0.0.0",
88
"build": "gatsby build --prefix-paths",
9-
"now-build": "pushd ..; npm run dist; popd; npm run build"
9+
"now-build": "./now-build.sh"
1010
},
1111
"dependencies": {
1212
"@loadable/component": "^5.10.2",

0 commit comments

Comments
 (0)