Skip to content

Commit

Permalink
(rollup) fix: build error if spaces in filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCommieAxolotl committed Jan 27, 2024
1 parent 4d73c2f commit 2ab7487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import fs from "fs";

const dirname = path.dirname(new URL(import.meta.url).pathname);

let dist = path.join(dirname, "dist");
let dist = path.join(dirname, "dist").replaceAll("%20", "");

if (process.platform === "win32") {
dist = dist.replace(/^\\/g, "");
Expand Down

0 comments on commit 2ab7487

Please sign in to comment.