Comments (2)
you say tree-shaking?
from next-plugin-antd-less.
You can control the sideEffects in the project's package.json and should not control them in the loader. If you want to import "global" styles, just use the abc.less name, not abc.module.less. Or use this in abc.module.less
.xyz { }
:global(.abc) { } // <---- global style
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.