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

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -