farmOS / field-kit

A modular, offline-first companion app to farmOS.
https://farmOS.org
GNU General Public License v3.0
59 stars 38 forks source link

Remove `build:web` script #502

Closed jgaehring closed 2 years ago

jgaehring commented 2 years ago

Simple change, since it's already an alias for npm run build, but that's only the case on the develop branch, and this will need to be coordinated with the config on Netlify so we don't break either deployment.

jgaehring commented 2 years ago

and this will need to be coordinated with the config on Netlify so we don't break either deployment.

I opted to add a netlify.toml file for this, because due to the changes for #501, specifically e754d59, I also needed to be able to set the base directory as packages/field-kit for the develop and deploy branches, while keeping the root / as base for v1. Configuration docs here:

https://docs.netlify.com/configure-builds/file-based-configuration/