Skip to content

Commit

Permalink
Add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Jul 17, 2022
1 parent f8a1f22 commit ca0765e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build-js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export async function buildJs (src, dest, siteData, opts) {
if (page.clientBundle) entryPoints.push(join(src, page.clientBundle.relname))
}

const globalVars = resolveVars(siteData?.globalVars?.filepath)
const globalVars = await resolveVars(siteData?.globalVars?.filepath)
const buildOpts = {
entryPoints,
logLevel: 'silent',
Expand Down

0 comments on commit ca0765e

Please sign in to comment.