Skip to content

Commit

Permalink
Update packages/integrations/vue/src/index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored Dec 5, 2023
1 parent 30bf5c7 commit 8664749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/integrations/vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ function virtualAppEntrypoint(options: ViteOptions) {
resolved = await this.resolve(options.appEntrypoint, fileURLToPath(options.root));
}
if (!resolved) {
throw new Error();
// This error is handled below, the message isn't shown to the user
throw new Error('Unable to resolve appEntrypoint');
}
const loaded = await this.load(resolved);
if (!loaded.hasDefaultExport) {
Expand Down

0 comments on commit 8664749

Please sign in to comment.