@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 +4 -0
- package/dist/chunk-6F72PDTR.js +1289 -0
- package/dist/chunk-6F72PDTR.js.map +1 -0
- package/dist/{chunk-WVRC46JG.js → chunk-DXD5LKU3.js} +18 -18
- package/dist/chunk-DXD5LKU3.js.map +1 -0
- package/dist/{chunk-WTSNW7BB.js → chunk-HQXIHYDN.js} +1 -1
- package/dist/chunk-HQXIHYDN.js.map +1 -0
- package/dist/{chunk-DTEQ2AIW.js → chunk-QKBMWK5B.js} +1 -1
- package/dist/chunk-QKBMWK5B.js.map +1 -0
- package/dist/chunk-QMEBIZAR.js +183 -0
- package/dist/chunk-QMEBIZAR.js.map +1 -0
- package/dist/{chunk-LTSJAEBG.js → chunk-SDT4J6VY.js} +18 -6
- package/dist/chunk-SDT4J6VY.js.map +1 -0
- package/dist/cli.d.ts +14 -4
- package/dist/cli.js +12 -1101
- package/dist/cli.js.map +1 -1
- package/dist/core.d.ts +10 -7
- package/dist/core.js +14 -13
- package/dist/core.js.map +1 -1
- package/dist/functions.d.ts +14 -0
- package/dist/functions.js +30 -0
- package/dist/functions.js.map +1 -0
- package/dist/middleware.d.ts +34 -0
- package/dist/middleware.js +17 -0
- package/dist/middleware.js.map +1 -0
- package/dist/node.d.ts +1 -1
- package/dist/node.js +2 -2
- package/dist/render.d.ts +1 -1
- package/dist/render.js +429 -228
- package/dist/render.js.map +1 -1
- package/dist/{types-47b9b530.d.ts → types-ca13e626.d.ts} +161 -34
- package/package.json +40 -4
- package/dist/chunk-DTEQ2AIW.js.map +0 -1
- package/dist/chunk-LTSJAEBG.js.map +0 -1
- package/dist/chunk-WTSNW7BB.js.map +0 -1
- package/dist/chunk-WVRC46JG.js.map +0 -1
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
|
}
|