mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
Adds a new way to import providers for modularity and better tree-shaking.
BREAKING CHANGE:
Providers now have to be imported one-by-one:
Example:
```diff
- import Provider from "next-auth/providers"
- Providers.Auth0({...})
+ import Auth0Provider from "next-auth/providers/auth0"
+ Auth0Provider({...})
```
36 lines
866 B
JSON
36 lines
866 B
JSON
{
|
|
"compilerOptions": {
|
|
"strictNullChecks": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"types": ["./types"],
|
|
"next-auth": ["./src/server"],
|
|
"next-auth/adapters": ["./src/adapters"],
|
|
"next-auth/react": ["./src/client/react"],
|
|
"next-auth/jwt": ["./src/lib/jwt"],
|
|
"next-auth/providers/*": ["./src/providers/*"],
|
|
},
|
|
"target": "es5",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve"
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
"**/*.js",
|
|
".eslintrc.js"
|
|
],
|
|
"exclude": ["node_modules"]
|
|
}
|