Comments (2)
@LikeCarter you can try install next-plugin-antd-less@^0.3.0 fixed.
from next-plugin-antd-less.
less-loader config lessOptions
has changed in 8.0.0
https://github.com/webpack-contrib/less-loader#lessoptions
// less-loader < 8.0.0
{
loader: "less-loader",
options: {
strictMath: true,
},
}
// less-loader > 8.0.0
{
loader: "less-loader",
options: {
lessOptions: { // <-- add this key level.
strictMath: true,
},
},
},
from next-plugin-antd-less.
Related Issues (20)
- lessVarsFilePath not works HOT 5
- Support ant-mobile HOT 3
- 影响了next.js自定义配置的webpack HOT 4
- style is broken on build but works on dev env HOT 8
- Do you that work with SWC compiler? HOT 1
- Warning: invalid next.config.js options detected HOT 11
- Invalid next.config.js options detected HOT 1
- Simple Example with NextJS standard stuff HOT 1
- cannot use `import` to import `.less` files,must use `require`? HOT 1
- next-plugin-antd-less not support next13.x HOT 1
- nextjs 13 antd 5 会导致 cssinjs 无法 ssr HOT 4
- Antd 4 custom theme config with nextjs after .less CSS files appended multiple times on DOM. HOT 5
- next-plugin-antd-less可以使用thread-loader加快构建吗
- (Question) Possible to drop babel to use SWC + NextJS 12 HOT 2
- README.md incorrectly lists SWC support HOT 2
- Use antd build resource error in [email protected]? HOT 4
- Error with <Image /> component Antd HOT 1
- Module not found: Can't resolve './data:image/svg+xml; HOT 1
- SWC replacing Babel HOT 6
- Error evaluating function `ceil`: argument must be a number HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-plugin-antd-less.