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