mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
* chore: move dev app to its own folder * docs: update CONTRIBUTING.md * docs: fix typos in CONTRIBUTING * chore: gitignore dev app lock files * chore: move release config into package.json
20 lines
580 B
JavaScript
20 lines
580 B
JavaScript
const path = require("path")
|
|
|
|
module.exports = {
|
|
webpack(config) {
|
|
config.resolve = {
|
|
...config.resolve,
|
|
alias: {
|
|
...config.resolve.alias,
|
|
"next-auth$": path.join(process.cwd(), "next-auth/server"),
|
|
"next-auth/client$": path.join(process.cwd(), "next-auth/client"),
|
|
"next-auth/jwt$": path.join(process.cwd(), "next-auth/lib/jwt"),
|
|
"next-auth/adapters": path.join(process.cwd(), "next-auth/adapters"),
|
|
"next-auth/providers": path.join(process.cwd(), "next-auth/providers"),
|
|
},
|
|
}
|
|
|
|
return config
|
|
},
|
|
}
|