File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- PORT = 2007
21ESLINT_NO_DEV_ERRORS = true
3- GENERATE_SOURCEMAP = false
2+ GENERATE_SOURCEMAP = false
3+ DISABLE_ESLINT_PLUGIN = true
Original file line number Diff line number Diff line change 6161$ npm run build
6262```
6363\
64- Если необходимо сделать билд с префиксом в url, установите его в переменной REACT_APP_PREFIX с косой чертой в начале, но без неё в конце.
64+ Если необходимо сделать билд с префиксом в url, установите его в переменной PUBLIC_URL и REACT_APP_PREFIX с косой чертой в начале, но без неё в конце.
6565```
6666$ REACT_APP_PREFIX=/SIPacker npm run build
6767```
Original file line number Diff line number Diff line change 11{
22 "name" : " sipacker" ,
3- "version" : " 1.1.2" ,
4- "homepage" : " ." ,
3+ "version" : " 1.2.0" ,
54 "description" : " Онлайн-редактор паков для Своей Игры (SiGame Владимиря Хиля)" ,
65 "dependencies" : {
76 "@emotion/react" : " ^11.4.1" ,
6766 "start" : " react-app-rewired start" ,
6867 "sw-start" : " http-server build" ,
6968 "build" : " react-app-rewired build" ,
70- "ghp-build" : " DISABLE_ESLINT_PLUGIN=true REACT_APP_PREFIX=/SIPacker react-app-rewired build" ,
69+ "netlify-build" : " react-app-rewired build && echo \" /* /index.html 200\" > build/_redirects" ,
70+ "ghp-build" : " PUBLIC_URL=/SIPacker REACT_APP_PREFIX=/SIPacker react-app-rewired build" ,
7171 "test" : " react-app-rewired test" ,
7272 "eject" : " react-scripts eject"
7373 },
You can’t perform that action at this time.
0 commit comments