-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dummy import of openid-client to get nextjs to leave it in node_modul…
…es (#3438) * dummy import of openid-client to get nextjs to leave it in node_modules * added missing file
- Loading branch information
1 parent
4d7265b
commit 6e4e252
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Leave the openid-client import to get nextjs to leave the library in node_modules after build | ||
import * as dummy from 'openid-client'; | ||
import type { NextApiRequest, NextApiResponse } from 'next'; | ||
|
||
export default function handler(req: NextApiRequest, res: NextApiResponse<any>) { | ||
const unused = dummy; // eslint-disable-line @typescript-eslint/no-unused-vars | ||
res.status(200).json({}); | ||
} |