You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I sometimes see students use tools which dynamically generate assets meant to be served up (e.g. CSS files, svgs, etc.). Students use public as the build target but fail to gitignore those assets, meaning they end up in version control.
Arguably a better idea is to have separate public and build directories, the former being included and the latter being ignored, both served up statically. Webpack would build to build, and other tools could as well; conversely, students would be taught that everything in public is supposed to be tracked in version control.
The text was updated successfully, but these errors were encountered:
I sometimes see students use tools which dynamically generate assets meant to be served up (e.g. CSS files, svgs, etc.). Students use
public
as the build target but fail togitignore
those assets, meaning they end up in version control.Arguably a better idea is to have separate
public
andbuild
directories, the former being included and the latter being ignored, both served up statically. Webpack would build tobuild
, and other tools could as well; conversely, students would be taught that everything inpublic
is supposed to be tracked in version control.The text was updated successfully, but these errors were encountered: