mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
[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:
parent
612cb71a28
commit
3e64261747
@ -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',
|
||||
});
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
],
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user