22 lines
439 B
JavaScript
22 lines
439 B
JavaScript
const withPlugins = require('next-compose-plugins');
|
|
const withAntdLess = require('next-plugin-antd-less');
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
compiler: {
|
|
styledComponents: true,
|
|
},
|
|
};
|
|
|
|
const plugins = [
|
|
[
|
|
withAntdLess,
|
|
{
|
|
modifyVars: { '@primary-color': process.env.NEXT_PUBLIC_COLOR_PRIMARY },
|
|
},
|
|
],
|
|
];
|
|
|
|
module.exports = withPlugins(plugins, nextConfig);
|