vite-ssg-optimized 0.28.0-optimized.1 → 0.28.0-optimized.2
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/dist/node/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import process from 'node:process';
|
|
2
2
|
import { gray, bold, red } from 'ansis';
|
|
3
3
|
import { cac } from 'cac';
|
|
4
|
-
import { b as build } from '../shared/vite-ssg-optimized.
|
|
4
|
+
import { b as build } from '../shared/vite-ssg-optimized.PPG64DEt.mjs';
|
|
5
5
|
import '@unhead/ssr';
|
|
6
6
|
import 'html5parser';
|
|
7
7
|
import 'node:worker_threads';
|
|
@@ -12,7 +12,7 @@ import 'node:url';
|
|
|
12
12
|
import 'vite';
|
|
13
13
|
import '../shared/vite-ssg-optimized.C6pK7rvr.mjs';
|
|
14
14
|
|
|
15
|
-
const cli = cac("vite-ssg");
|
|
15
|
+
const cli = cac("vite-ssg-optimized");
|
|
16
16
|
cli.command("build", "Build SSG").option("--script <script>", "Rewrites script loading timing").option("--mock", "Mock browser globals (window, document, etc.) for SSG").option("--mode <mode>", "Specify the mode the Vite process is running in").option("--config, -c <config>", "The vite config file to use").option("--base, -b <base>", "The base path to render").option("--skip-build", "Skip build if already have build in ssg-out dir").action(async (args) => {
|
|
17
17
|
const { config: configFile = void 0, ...ssgOptions } = args;
|
|
18
18
|
if (args.script && !["sync", "async", "defer", "async defer"].includes(args.script)) {
|
package/dist/node.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';
|
|
2
2
|
import { workerData, parentPort } from 'node:worker_threads';
|
|
3
|
-
import { p as plainify, a as buildServer, c as buildClient, e as executeTaskFn } from './vite-ssg-optimized.
|
|
3
|
+
import { p as plainify, a as buildServer, c as buildClient, e as executeTaskFn } from './vite-ssg-optimized.PPG64DEt.mjs';
|
|
4
4
|
import { red, gray, blue } from 'ansis';
|
|
5
5
|
import { resolveConfig } from 'vite';
|
|
6
6
|
import '@unhead/ssr';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-ssg-optimized",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.28.0-optimized.
|
|
4
|
+
"version": "0.28.0-optimized.2",
|
|
5
5
|
"description": "Server-side generation for Vite",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@unhead/ssr": "~
|
|
74
|
+
"@unhead/ssr": "~2.0.11",
|
|
75
75
|
"@unhead/vue": "^2.0.11",
|
|
76
76
|
"ansis": "^4.1.0",
|
|
77
77
|
"cac": "^6.7.14",
|