forked from extern/egroupware
docu update
This commit is contained in:
parent
f25070a9c2
commit
452233a9e5
15
Gruntfile.js
15
Gruntfile.js
@ -9,22 +9,27 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Please use only double quotes, as we parse this file as json, to update it!
|
||||
*
|
||||
* To install grunt to build minified javascript files you need to run:
|
||||
*
|
||||
* sudo npm install -g grunt-cli
|
||||
* npm install grunt --save-dev
|
||||
* npm install grunt-contrib-uglify
|
||||
* npm install grunt-contrib-uglify --save-dev
|
||||
*
|
||||
* Building happens by running in your EGroupware directory:
|
||||
*
|
||||
* grunt
|
||||
* or
|
||||
* grunt uglify:<target> # targets: api, et2, mail, calendar, ...
|
||||
* grunt uglify:<target> # targets: api, et2, pixelegg, mobile, mail, calendar, ...
|
||||
*
|
||||
* app.js files can be added like mail target or, if you want automatic dependencies,
|
||||
* you need to add them in egw_framework::$bundle2minurl and egw_framework::get_bundles().
|
||||
*
|
||||
* app.js files can be added under apps target, api and et2 bundels are already there.
|
||||
* To update files in Gruntfile after adding new js files you need to run:
|
||||
*
|
||||
* updateGruntfile.php
|
||||
*
|
||||
* Please use only double quotes, as we parse this file as json to update it!
|
||||
*
|
||||
* @param {object} grunt
|
||||
*/
|
||||
module.exports = function (grunt) {
|
||||
|
Loading…
Reference in New Issue
Block a user