frontend module with grunt and requirejs
npm install
- use requirejs to manage js modules
- use less to manage css modules
- start server:
grunt
- package js with grunt-contrib-requirejs
- compile less with grunt-less
- compress css with grunt-contrib-cssmin
- use grunt-hashres generate MD5 fingerprint for JS and CSS, and also update files link in releated HTML files.
- start server:
grunt release
- just test