Skip to content

Commit

Permalink
changing siteDir in experimental webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
joemaller committed Sep 19, 2024
1 parent 193fa22 commit 9f223e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ const stats = {
};

export default async (env) => {
const siteDir = new URL(import.meta.url).pathname;
// const siteDir = new URL(import.meta.url).pathname;
const siteDir = process.cwd();
const explorer = cosmiconfig("ideasonpurpose", { searchStrategy: "project" });
const configFile = await explorer.search(siteDir);

Expand Down

0 comments on commit 9f223e2

Please sign in to comment.