Skip to content

Instantly share code, notes, and snippets.

@kuccello
Created January 24, 2022 21:36
Show Gist options
  • Save kuccello/31fcde90f9cc6a10288e1e5acd414ed7 to your computer and use it in GitHub Desktop.
Save kuccello/31fcde90f9cc6a10288e1e5acd414ed7 to your computer and use it in GitHub Desktop.
// 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