Skip to content

Commit

Permalink
Merge pull request #24 from ryansolid/fix-prerender-start
Browse files Browse the repository at this point in the history
  • Loading branch information
nksaraf authored Dec 14, 2023
2 parents 5b157c3 + 386124b commit 762cf3b
Show file tree
Hide file tree
Showing 3 changed files with 1,061 additions and 146 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-ladybugs-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vinxi": patch
---

remove build aliases to fix pre-render
10 changes: 5 additions & 5 deletions packages/vinxi/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ export async function createBuild(app, buildConfig) {
"node-fetch-native/polyfill": require.resolve(
"node-fetch-native/polyfill",
),
"unstorage/drivers/fs-lite": require.resolve("unstorage/drivers/fs-lite"),
"unstorage/drivers/fs": require.resolve("unstorage/drivers/fs"),
defu: require.resolve("defu"),
pathe: require.resolve("pathe"),
unstorage: require.resolve("unstorage"),
// "unstorage/drivers/fs-lite": require.resolve("unstorage/drivers/fs-lite"),
// "unstorage/drivers/fs": require.resolve("unstorage/drivers/fs"),
// defu: require.resolve("defu"),
// pathe: require.resolve("pathe"),
// unstorage: require.resolve("unstorage"),
},
// externals: {
// inline: ["node-fetch-native/polyfill"],
Expand Down
Loading

0 comments on commit 762cf3b

Please sign in to comment.