Skip to content

Commit 30ee25f

Browse files
author
Viktor
committed
Merge branch 'dev' of https://github.com/VityaSchel/SIPacker into dev
2 parents aedf6c4 + 36467ad commit 30ee25f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
PORT=2007
21
ESLINT_NO_DEV_ERRORS=true
3-
GENERATE_SOURCEMAP=false
2+
GENERATE_SOURCEMAP=false
3+
DISABLE_ESLINT_PLUGIN=true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
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
```

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
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",
@@ -67,7 +66,8 @@
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
},

0 commit comments

Comments
 (0)