elado / next-with-less

Next.js + Less CSS Support
MIT License
143 stars 24 forks source link

Module parse failed: Unexpected character '@' #24

Open max-mykhailenko opened 2 years ago

max-mykhailenko commented 2 years ago

Hi, I have a problem after next start

error - ../../node_modules/antd/lib/alert/style/index.less
Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> @root-entry-name: default;
| 
| @import './index-pure.less';

version "next": "^12.1.0", antd latest Configuration copy pasted from your example for next 12

Please help with research what is that

chemicalkosek commented 2 years ago

Can you create a reproduction?

FonTain1991 commented 2 years ago

I also have