diff --git a/package.json b/package.json index 51848b9..f5beaee 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,8 @@ "scripts": { "start": "react-scripts start", "build": "react-scripts build", + "prebuild": "cp webpack.config.prod.js node_modules/react-scripts/config", + "postbuild": "npx uglify-es build/static/js/main.*.js -o build/static/js/$(ls build/static/js | head -n 1)", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" }, diff --git a/public/index.html b/public/index.html index ed0ebaf..563493c 100644 --- a/public/index.html +++ b/public/index.html @@ -19,7 +19,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - React App + IPFS Boards