@@ -18,48 +18,48 @@ var webpack = require("webpack");
18
18
19
19
var optimist = require ( "optimist" )
20
20
21
- . usage ( "webpack-dev-server " + require ( "../package.json" ) . version + "\n" +
22
- "Usage: http://webpack.github.io/docs/webpack-dev-server.html" )
21
+ . usage ( "webpack-dev-server " + require ( "../package.json" ) . version + "\n" +
22
+ "Usage: http://webpack.github.io/docs/webpack-dev-server.html" )
23
23
24
- . boolean ( "lazy" ) . describe ( "lazy" )
24
+ . boolean ( "lazy" ) . describe ( "lazy" )
25
25
26
- . boolean ( "stdin" ) . describe ( "stdin" , "close when stdin ends" )
26
+ . boolean ( "stdin" ) . describe ( "stdin" , "close when stdin ends" )
27
27
28
- . boolean ( "info" ) . describe ( "info" ) . default ( "info" , true )
28
+ . boolean ( "info" ) . describe ( "info" ) . default ( "info" , true )
29
29
30
- . boolean ( "quiet" ) . describe ( "quiet" )
30
+ . boolean ( "quiet" ) . describe ( "quiet" )
31
31
32
- . boolean ( "inline" ) . describe ( "inline" , "Inline the webpack-dev-server logic into the bundle." )
32
+ . boolean ( "inline" ) . describe ( "inline" , "Inline the webpack-dev-server logic into the bundle." )
33
33
34
- . boolean ( "https" ) . describe ( "https" )
34
+ . boolean ( "https" ) . describe ( "https" )
35
35
36
- . string ( "key" ) . describe ( "key" , "Path to a SSL key." )
36
+ . string ( "key" ) . describe ( "key" , "Path to a SSL key." )
37
37
38
- . string ( "cert" ) . describe ( "cert" , "Path to a SSL certificate." )
38
+ . string ( "cert" ) . describe ( "cert" , "Path to a SSL certificate." )
39
39
40
- . string ( "cacert" ) . describe ( "cacert" , "Path to a SSL CA certificate." )
40
+ . string ( "cacert" ) . describe ( "cacert" , "Path to a SSL CA certificate." )
41
41
42
- . string ( "pfx" ) . describe ( "pfx" , "Path to a SSL pfx file." )
42
+ . string ( "pfx" ) . describe ( "pfx" , "Path to a SSL pfx file." )
43
43
44
- . string ( "pfx-passphrase" ) . describe ( "pfx-passphrase" , "Passphrase for pfx file." )
44
+ . string ( "pfx-passphrase" ) . describe ( "pfx-passphrase" , "Passphrase for pfx file." )
45
45
46
- . string ( "content-base" ) . describe ( "content-base" , "A directory or URL to serve HTML content from." )
46
+ . string ( "content-base" ) . describe ( "content-base" , "A directory or URL to serve HTML content from." )
47
47
48
- . string ( "content-base-target" ) . describe ( "content-base-target" , "Proxy requests to this target." )
48
+ . string ( "content-base-target" ) . describe ( "content-base-target" , "Proxy requests to this target." )
49
49
50
- . boolean ( "history-api-fallback" ) . describe ( "history-api-fallback" , "Fallback to /index.html for Single Page Applications." )
50
+ . boolean ( "history-api-fallback" ) . describe ( "history-api-fallback" , "Fallback to /index.html for Single Page Applications." )
51
51
52
- . string ( "client-log-level" ) . describe ( "client-log-level" , "Log level in the browser (info, warning, error or none)" ) . default ( "client-log-level" , "info" )
52
+ . string ( "client-log-level" ) . describe ( "client-log-level" , "Log level in the browser (info, warning, error or none)" ) . default ( "client-log-level" , "info" )
53
53
54
- . boolean ( "compress" ) . describe ( "compress" , "enable gzip compression" )
54
+ . boolean ( "compress" ) . describe ( "compress" , "enable gzip compression" )
55
55
56
- . boolean ( "open" ) . describe ( "open" , "Open default browser" )
56
+ . boolean ( "open" ) . describe ( "open" , "Open default browser" )
57
57
58
- . describe ( "port" , "The port" ) . default ( "port" , 8080 )
58
+ . describe ( "port" , "The port" ) . default ( "port" , 8080 )
59
59
60
- . describe ( "public" , "The public hostname/ip address of the server" )
60
+ . describe ( "public" , "The public hostname/ip address of the server" )
61
61
62
- . describe ( "host" , "The hostname/ip address the server will bind to" ) . default ( "host" , "localhost" ) ;
62
+ . describe ( "host" , "The hostname/ip address the server will bind to" ) . default ( "host" , "localhost" ) ;
63
63
64
64
require ( "webpack/bin/config-optimist" ) ( optimist ) ;
65
65
0 commit comments