diff --git a/.gitignore b/.gitignore index fd35339..b120704 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,9 @@ # generated tailwind /src/tailwind.output.css +# deployment +.netlify + # dependencies /node_modules /.pnp diff --git a/package.json b/package.json index c86424f..996f37e 100644 --- a/package.json +++ b/package.json @@ -28,11 +28,14 @@ }, "scripts": { "build:tailwind": "tailwindcss build src/index.css -o src/tailwind.output.css", - "prebuild": "NODE_ENV=production yarn run build:tailwind", - "build": "react-scripts build", - "prestart": "yarn run build:tailwind", - "start": "react-scripts start", - "start:musselnet": "REACT_APP_NETWORK=musselnet yarn start", + "prebuild": "NODE_ENV=production yarn build:tailwind", + "build:base": "react-scripts build", + "build": "yarn build:musselnet", + "build:musselnet": "REACT_APP_NETWORK=musselnet yarn build:base", + "prestart": "yarn build:tailwind", + "start:base": "react-scripts start", + "start": "yarn start:musselnet", + "start:musselnet": "REACT_APP_NETWORK=musselnet yarn start:base", "test": "react-scripts test", "eject": "react-scripts eject" }, diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..ad37e2c --- /dev/null +++ b/public/_redirects @@ -0,0 +1 @@ +/* /index.html 200