rise8-us / schedul8r

4 stars 2 forks source link

Improve build config #6

Closed jwills-r8 closed 1 year ago

jwills-r8 commented 1 year ago

As a dev. I want both the appscript.json file, backend, and frontend dirs to be in src, and copied to dist on npm run build.
So that there is proper order and automation

Acceptance criteria

dist will be emptied and all new code will be entered in dist as part of the build process

dlamberson-rise8 commented 1 year ago

This is done if you'd like to verify it. When you now run npm build:push, it'll clear out the dist and move the backend folder & the appsscript.json, then build the frontend folder using vite. The dist folder has also been added to .gitignore.

jwills-r8 commented 1 year ago

Looks good, I think at some point in the future I'd like to figure out if we can use vite to build the backend into a single file as well