antd-dayjs-webpack-plugin icon indicating copy to clipboard operation
antd-dayjs-webpack-plugin copied to clipboard

how to use in next.js

Open zwy012 opened this issue 3 years ago • 1 comments

zwy012 avatar Sep 26 '22 09:09 zwy012

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;
}

yourAverageDeveloper avatar Oct 11 '22 15:10 yourAverageDeveloper