@blinkk/root 1.0.0-beta.6 → 1.0.0-beta.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/root.js CHANGED
@@ -21,18 +21,22 @@ async function main() {
21
21
  .description('generates a static build')
22
22
  .option('--ssr-only', 'produce a ssr-only build')
23
23
  .option('--mode <mode>', 'see: https://vitejs.dev/guide/env-and-mode.html#modes', 'production')
24
+ .option('-c, --concurrency <num>', 'number of files to build concurrently', 10)
24
25
  .action(build);
25
26
  program
26
27
  .command('dev [path]')
27
28
  .description('starts the server in development mode')
29
+ .option('--host <host>', 'network address the server should listen on, e.g. 127.0.0.1')
28
30
  .action(dev);
29
31
  program
30
32
  .command('preview [path]')
31
33
  .description('starts the server in preview mode')
34
+ .option('--host <host>', 'network address the server should listen on, e.g. 127.0.0.1')
32
35
  .action(preview);
33
36
  program
34
37
  .command('start [path]')
35
38
  .description('starts the server in production mode')
39
+ .option('--host <host>', 'network address the server should listen on, e.g. 127.0.0.1')
36
40
  .action(start);
37
41
  await program.parseAsync(process.argv);
38
42
  }