After some trial and error and feedback/discussions, the folder structure should be tweaked just a bit.
FOLDER STRUCTURE
assets/
inc/
parts/
templates/
util/
dist/
Note the addition of dist/
Any src/ and dist/ folders inside of assets will now compile to dist/ instead, thus insuring the paths being correct upon compilation and deployment.
[ ] Do Not .gitignoredist/
[ ] Remove all src/ and dist/ folders currently existing
[ ] Update npm scripts in both .bin and package.json
[ ] Kill Gulp image compression and most likely gulp altogether
Updated build scripts/condensed them into their own scripts
Kept gulp image compression as they can be compressed prior to Parcel bundle and it also ensures in theme images are compressed. Adjusted order of build process for this to be more effective.
After some trial and error and feedback/discussions, the folder structure should be tweaked just a bit.
FOLDER STRUCTURE
Note the addition of
dist/
Any
src/
anddist/
folders inside ofassets
will now compile todist/
instead, thus insuring the paths being correct upon compilation and deployment.[ ] Do Not
.gitignore
dist/
[ ] Remove allsrc/
anddist/
folders currently existing [ ] Update npm scripts in both.bin
andpackage.json
[ ] Kill Gulp image compression and most likely gulp altogether