antd-dayjs-webpack-plugin
antd-dayjs-webpack-plugin copied to clipboard
how to use in next.js
Experiencing the same problem here guys. I have a Nextjs deployment failing on Vercel with the error
Error: No serverless pages were built
And on local, the build just keeps on going endlessly. I added the plugin to my Next config and left a deployment running for over 30 minutes on my local computer when it normally ends in 4-5 minutes. Here's the config in case anyone's interested
...restNextConfig,
webpack: (config) => {
config.plugins.push(new AntdDayjsWebpackPlugin());
return config;
}