Closed sitch closed 3 years ago
Yes this fixes an issue with building in serverless mode on next.js. Could also just change the regex to be configurable via some setting for better compatibility
I can confirm that this fix allowed me to successfully build the project in serverless mode. I was unable to before.
How can I test it in my project? I facing the same issue on Netlify.
add to package.json to test it.
"next-plugin-antd-less": "SolidZORO/next-plugin-antd-less#57/head",
I tested it in my project and it works! It should go to production ASAP ;)
Thanks for helping @sitch 🚀
Solution for now: https://twitter.com/tgmarinho/status/1400213108019314691
@sitch Sorry I'm late testing, just merged and released the new version.
Did this solve any problems?