1 | module.exports = {
|
2 | config: {
|
3 | alias: "c",
|
4 | type: "string",
|
5 | default: "package.json!npm",
|
6 | describe: "Path to the config file"
|
7 | },
|
8 | main: {
|
9 | alias: "m",
|
10 | type: "string",
|
11 | describe: "The application's entry point module"
|
12 | },
|
13 | "bundles-path": {
|
14 | type: "string",
|
15 | describe: "Defaults to dist/bundles, a directory to save the bundles"
|
16 | },
|
17 | "bundle-steal": {
|
18 | type: "boolean",
|
19 | describe: "Include steal.js in your main bundled JavaScript"
|
20 | },
|
21 | "no-minify": {
|
22 | type: "boolean",
|
23 | describe: "Do not minify the output"
|
24 | },
|
25 | "no-envify": {
|
26 | type: "boolean",
|
27 | describe: "Do not replace Node-style environment variables with plain strings"
|
28 | },
|
29 | watch: {
|
30 | alias: "w",
|
31 | type: "boolean",
|
32 | describe: "Watch for file changes and rebuild"
|
33 | },
|
34 | "source-maps": {
|
35 | type: "boolean",
|
36 | describe: "Generate source maps"
|
37 | },
|
38 | "source-maps-content": {
|
39 | type: "boolean",
|
40 | describe: "Include the original source contents with the source maps"
|
41 | },
|
42 | verbose: {
|
43 | type: "boolean",
|
44 | describe: "Verbose output"
|
45 | },
|
46 | quiet: {
|
47 | type: "boolean",
|
48 | describe: "Quiet output"
|
49 | },
|
50 | "bundle-manifest": {
|
51 | type: "boolean",
|
52 | default: false,
|
53 | describe: "Generates a JSON manifest of the application bundles for server-side preload"
|
54 | },
|
55 | "no-tree-shaking": {
|
56 | type: "boolean",
|
57 | describe: "Do not tree shake the dependency graph"
|
58 | }
|
59 | };
|