Optimize app build
This commit is contained in:
1
Makefile
1
Makefile
@ -9,7 +9,6 @@ run:
|
|||||||
build:
|
build:
|
||||||
- @rm -rf build
|
- @rm -rf build
|
||||||
@npm run build
|
@npm run build
|
||||||
@rm build/static/js/*.map
|
|
||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
- @docker image rm $(IMAGE_NAME)
|
- @docker image rm $(IMAGE_NAME)
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-scripts start",
|
"start": "react-scripts start",
|
||||||
"build": "react-scripts build",
|
"build": "GENERATE_SOURCEMAP=false react-scripts build",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
# https://www.robotstxt.org/robotstxt.html
|
# https://www.robotstxt.org/robotstxt.html
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow:
|
Disallow: *
|
||||||
|
|||||||
Reference in New Issue
Block a user