0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-31 22:51:25 -05:00

fix(connector): support crypto.getRandomValues in connectors (#3744)

* fix(connector): enable node crypto.getRandomValues

* refactor: remove comments

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
This commit is contained in:
Darcy Ye 2023-04-24 16:19:23 +08:00 committed by GitHub
parent 20418dc4f9
commit 3c0477a894
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ const configs = [
external: ['zod', 'got', '@logto/connector-kit'],
plugins: [
typescript({ tsconfig: 'tsconfig.build.json' }),
nodeResolve(),
nodeResolve({ exportConditions: ['node'] }),
commonjs(),
json(),
summary(),