File tree Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
+ assetPrefix : process . env . DOCS ? require ( '../package.json' ) . homepage : '' ,
2
3
exportPathMap ( ) {
3
4
return {
4
5
'/' : { page : '/' } ,
Original file line number Diff line number Diff line change 23
23
"precommit" : " lint-staged" ,
24
24
"dev" : " concurrently \" yarn tsc:main --watch\" \" yarn tsc:example --watch\" \" yarn build:rollup -w\" \" next dev example\" " ,
25
25
"predocs" : " yarn build" ,
26
- "docs" : " next build example && next export -o ./docs example" ,
26
+ "docs" : " next build example && DOCS=true next export -o ./docs example && npx git-update-ghpages stipsan/scroll-into-view-if-needed docs " ,
27
27
"prepublishOnly" : " yarn build" ,
28
28
"semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
29
29
"test" : " yarn tsc:main --noEmit && yarn tsc:example --noEmit" ,
You can’t perform that action at this time.
0 commit comments