Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using an ignored build directory instead of mixing ignored/included public files #33

Open
glebec opened this issue Nov 7, 2017 · 1 comment

Comments

@glebec
Copy link
Member

glebec commented Nov 7, 2017

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.

@khumphrey
Copy link
Contributor

I really like this idea 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants