2022-02-11 13:56:28 +00:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
|
|
const withNx = require('@nrwl/next/plugins/with-nx');
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @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,
|
|
|
|
},
|
2022-03-01 00:59:18 +00:00
|
|
|
pageExtensions: ['page.tsx', 'page.jsx'],
|
2022-02-22 06:40:55 +00:00
|
|
|
experimental: {
|
|
|
|
// https://github.com/vercel/next.js/issues/32360
|
|
|
|
esmExternals: false,
|
|
|
|
},
|
2022-02-11 13:56:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = withNx(nextConfig);
|