Skip to content

Commit

Permalink
Check if disabling buildHelper package_json homepage helps, it should…
Browse files Browse the repository at this point in the history
… fail
  • Loading branch information
sanjarcode committed Sep 27, 2023
1 parent 60d6e6b commit a3286e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { getRepoDetails, setHomePageInPackageJSON } from "./buildHelper";

const { viteBaseName = "", ghURL = "" } = await getRepoDetails();

if (import.meta.env?.PROD) { // this is true during gh pages buld, as seen in message 'vite v4.4.5 building for production...'
if (false && import.meta.env?.PROD) {
// this is true during gh pages buld, as seen in message 'vite v4.4.5 building for production...'
await setHomePageInPackageJSON(ghURL); // set package.json homepage for gh pages
}

Expand Down

0 comments on commit a3286e7

Please sign in to comment.