[Fix] Infinite Loop on handler/sign-in due to useStackApp not being able to find the StackProvider given context (#1248)

This commit is contained in:
Aman Ganapathy 2026-03-12 22:28:47 -07:00 committed by GitHub
parent 612cb71a28
commit 3e64261747
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,19 +75,7 @@ export default function createJsLibraryTsupConfig(_options: { barrelFiles?: stri
external: true,
};
},
},
{
name: 'stackframe: write esm package.json',
generateBundle(options) {
if (options.dir?.endsWith('/esm') || options.dir === 'dist/esm') {
this.emitFile({
type: 'asset',
fileName: 'package.json',
source: JSON.stringify({ type: 'module' }) + '\n',
});
}
},
},
}
],
});
}