Skip to content

Commit

Permalink
Add await to build process
Browse files Browse the repository at this point in the history
  • Loading branch information
KosmosisDire committed Aug 24, 2024
1 parent b746de3 commit 3d9fc38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if you want to view the source, please visit the github repository of this plugi

const prod = (process.argv[2] === 'production');

esbuild.build
await esbuild.build
({
entryPoints: ["src/frontend/main/index.txt.ts"],
bundle: true,
Expand All @@ -23,7 +23,7 @@ esbuild.build
watch: !prod,
});

esbuild.build({
await esbuild.build({
loader: {
'.txt.js': 'text',
'.txt.css': 'text',
Expand Down

0 comments on commit 3d9fc38

Please sign in to comment.