baltimorecounty / baltimorecountymd.gov-assets

Baltimore County Government Website Assets
3 stars 1 forks source link

Move Constants into their Own File #263

Closed martypowell closed 5 years ago

martypowell commented 5 years ago

The purpose of this change is to make the constants easily updatable without requiring a rebuild of our main js (current required). This allows us to clear cache via a query string on numerous endpoints that sometimes update and need bused. A good example of this is baltcogo, we add categories from time to time and want to see those changes immediately.

In this change we also removed the dist from version control, which is our build folder. We know follow a pattern that create-react-app uses and are responsible for building as part of the publish process.

FYI @danfox01