Closed mecuong closed 2 years ago
It's work find on next^11.x.x but error with next^12.0.1 TypeError: Cannot read properties of undefined (reading 'oneOf') at Object.webpack (/Users/nguyencuong/Desktop/ShopME/node_modules/next-with-less/dist/index.js:61:15)
me too
fixed by updating to version ^2.0.2 :)
^2.0.2
it works
Problem
It's work find on next^11.x.x but error with next^12.0.1 TypeError: Cannot read properties of undefined (reading 'oneOf') at Object.webpack (/Users/nguyencuong/Desktop/ShopME/node_modules/next-with-less/dist/index.js:61:15)