Skip to content

Commit

Permalink
resolve and import
Browse files Browse the repository at this point in the history
  • Loading branch information
nksaraf committed Jul 2, 2023
1 parent 5945d8e commit 0dd1fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vinxi/bin/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async function main() {
const rootDir = resolve(args._[1] || ".");
globalThis.MANIFEST = {};

const { default: config } = await import(join(process.cwd(), "./app.js"));
const { default: config } = await import(resolve("./app.js"));

if (command === "dev") {
const { createDevServer } = await import("../lib/dev-server.js");
Expand Down

0 comments on commit 0dd1fb0

Please sign in to comment.