Created
January 24, 2022 21:36
-
-
Save kuccello/31fcde90f9cc6a10288e1e5acd414ed7 to your computer and use it in GitHub Desktop.
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
// eslint-disable-next-line @typescript-eslint/no-var-requires | |
const withNx = require('@nrwl/next/plugins/with-nx'); | |
const { withKeystone } = require("@keystone-6/core/next"); | |
/** | |
* @type {import('@nrwl/next/plugins/with-nx').WithNxOptions} | |
**/ | |
const nextConfig = { | |
nx: { | |
// Set this to true if you would like to to use SVGR | |
// See: https://github.com/gregberge/svgr | |
svgr: false, | |
}, | |
}; | |
// module.exports = withNx(nextConfig); | |
module.exports = withKeystone({reactStrictMode: true, ...withNx(nextConfig)}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment