Skip to content

Commit

Permalink
Update esbuild.config.mjs
Browse files Browse the repository at this point in the history
fix type error
  • Loading branch information
Marlon154 committed Feb 12, 2024
1 parent 63ebadf commit 0c62d04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ if you want to view the source, please visit the github repository of this plugi
`;

const prod = process.argv[2] === "production";
const dir = prod ? "./" : process.env.OUTDIR;
let dir = prod ? "./" : process.env.OUTDIR;
dir = "./";
const outfile = join(dir, "main.js");
const outstyles = join(dir, "styles.css");

Expand Down

0 comments on commit 0c62d04

Please sign in to comment.