vike-lite 1.17.4 → 1.18.0
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/vite.mjs +4 -0
- package/package.json +1 -1
package/dist/vite.mjs
CHANGED
|
@@ -194,6 +194,10 @@ function vikeLite({ pagesDir = "pages", apiPrefix = "/api", prerender = false, s
|
|
|
194
194
|
const pagesDirTest = new RegExp(String.raw`[\\/]${escapedPagesDir}[\\/]`);
|
|
195
195
|
return {
|
|
196
196
|
appType: "custom",
|
|
197
|
+
builder: { async buildApp(builder) {
|
|
198
|
+
await builder.build(builder.environments.client);
|
|
199
|
+
await builder.build(builder.environments.ssr);
|
|
200
|
+
} },
|
|
197
201
|
ssr: { noExternal: [/^vike-lite(?:$|-)/] },
|
|
198
202
|
environments: {
|
|
199
203
|
client: { build: {
|