diff --git a/HELP.md b/HELP.md index 47513f31..72e0beae 100644 --- a/HELP.md +++ b/HELP.md @@ -77,7 +77,6 @@ Cloud Commander supports command line parameters: | `--root` | set root directory | `--prefix` | set url prefix | `--port` | set port number -| `--minify` | enable minification | `--progress` | show progress of file operations | `--html-dialogs` | use html dialogs | `--open` | open web browser when server started @@ -90,7 +89,6 @@ Cloud Commander supports command line parameters: | `--no-auth` | disable authorization | `--no-online` | load scripts from local server | `--no-open` | do not open web browser when server started -| `--no-minify` | disable minification | `--no-progress` | do not show progress of file operations | `--no-html-dialogs` | do not use html dialogs | `--no-one-panel-mode` | unset one panel mode @@ -309,7 +307,6 @@ Here is description of options: "localStorage" : true, /* local storage */ "buffer" : true, /* buffer for copying files */ "dirStorage" : true, /* store directory listing to localStorage */ - "minify" : false, /* minification of js,css,html and img */ "online" : true, /* load js files from cdn or local path */ "open" : false /* open web browser when server started */ "cache" : true, /* add cache-control */ diff --git a/bin/cloudcmd.js b/bin/cloudcmd.js index 93006a2f..c279db61 100755 --- a/bin/cloudcmd.js +++ b/bin/cloudcmd.js @@ -36,7 +36,6 @@ const args = require('minimist')(argv.slice(2), { 'server', 'online', 'open', - 'minify', 'progress', 'config-dialog', 'console', @@ -49,7 +48,6 @@ const args = require('minimist')(argv.slice(2), { server : true, auth : choose(env('auth'), config('auth')), port : config('port'), - minify : config('minify'), online : config('online'), open : config('open'), editor : env('editor') || config('editor'), @@ -100,7 +98,6 @@ function main() { config('auth', args.auth); config('online', args.online); config('open', args.open); - config('minify', args.minify); config('username', args.username); config('progress', args.progress); config('console', args.console); diff --git a/json/config.json b/json/config.json index 4981a102..5728938a 100644 --- a/json/config.json +++ b/json/config.json @@ -10,7 +10,6 @@ "localStorage": true, "buffer": true, "dirStorage": false, - "minify": false, "online": true, "open": false, "cache": true, diff --git a/json/help.json b/json/help.json index 20b5ba54..7d9bfe0e 100644 --- a/json/help.json +++ b/json/help.json @@ -13,7 +13,6 @@ "--root ": "set root directory", "--prefix ": "set url prefix", "--port ": "set port number", - "--minify ": "enable minification", "--progress ": "show progress of file operations", "--html-dialogs ": "use html dialogs", "--one-panel-mode ": "set one panel mode", @@ -26,7 +25,6 @@ "--no-auth ": "disable authorization", "--no-online ": "load scripts from local server", "--no-open ": "do not open web browser when server started", - "--no-minify ": "disable minification", "--no-progress ": "do not show progress of file operations", "--no-html-dialogs ": "do not use html dialogs", "--no-one-panel-mode ": "unset one panel mode", diff --git a/man/cloudcmd.1 b/man/cloudcmd.1 index 2841a05f..e351052d 100644 --- a/man/cloudcmd.1 +++ b/man/cloudcmd.1 @@ -36,7 +36,6 @@ programs in browser from any computer, mobile or tablet device. --root set root directory --prefix set url prefix --port set port number - --minify enable minification --progress show progress of file operations --html-dialogs use html dialogs --open open web browser when server started @@ -49,7 +48,6 @@ programs in browser from any computer, mobile or tablet device. --no-server do not start server --no-online load scripts from local server --no-open do not open web browser when server started - --no-minify disable minification --no-progress do not show progress of file operations --no-html-dialogs do not use html dialogs --no-one-panel-mode unset one panel mode diff --git a/server/cloudcmd.js b/server/cloudcmd.js index 644d6af3..68a8f7ce 100644 --- a/server/cloudcmd.js +++ b/server/cloudcmd.js @@ -193,7 +193,6 @@ function cloudcmd(prefix, plugins, modules) { return config(name); }; - const minify = apart(isOption, 'minify'); const online = apart(isOption, 'online'); const cache = apart(isOption, 'cache'); const diff = apart(isOption, 'diff'); @@ -275,8 +274,8 @@ function cloudcmd(prefix, plugins, modules) { route, join({ - dir : DIR_ROOT, - minify, + dir: DIR_ROOT, + minify: false, }), pluginer(plugins), diff --git a/tmpl/config.hbs b/tmpl/config.hbs index 05824506..bd7c4c1a 100644 --- a/tmpl/config.hbs +++ b/tmpl/config.hbs @@ -70,12 +70,6 @@ Directory Storage -
  • - -