Skip to content

Commit

Permalink
change types
Browse files Browse the repository at this point in the history
  • Loading branch information
asanehisa committed May 14, 2024
1 parent d091db5 commit 54a1c07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/pages/src/vite-plugin/modules/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ export const buildModules = async (
},
},
experimental: {
renderBuiltUrl(filename: any, { type }: any) {
renderBuiltUrl(
filename: string,
{ type }: { type: "asset" | "public" }
) {
let domain = `http://localhost:8000`;
if (typeof process.env.YEXT_SITE_ARGUMENT !== "undefined") {
try {
Expand Down

0 comments on commit 54a1c07

Please sign in to comment.