gruntjs - Folder naming: src & dist vs. src & build, dev & dist -


question

what preferred labelling method folders distinguish between raw assets , have been minified, concatenated etc. using task runner? i've seen bunch of combinations, popular ones being src , dist, src , build, dev , dist

it's subjective, can want. tell mine "src : _build". of dev files contained within "src" directory, , else copies/builds "_build" directory. there no set standards.

you can name concatenated files... reference them in layout file. example concat lib js files file named lib.min.js, used constructor function in app.js there nothing concatenate there, it's 1 file.

same minified css files... lib.min.css, , app.min.css.

i run htmlmin on _build directory.

not sure question here, hope helps.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -