Release 1.0.1
Automatically convert those .less file which is not using less function to .css.
.less
.css
Less is a powerful CSS pre-processor, but it also very slow. We want use it only when we need it.
Directly use it without install it into your project:
$ pnpx @ken20001207/less-2-css ./src --write
Install as a devDependency and use it in your project:
$ pnpm i @ken20001207/less-2-css -D $ pnpx less-2-css ./src --write
.js
.jsx
.ts
.tsx
You can see this example in /test/example.
/test/example
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
less-2-css
Automatically convert those
.lessfile which is not using less function to.css.Why
Less is a powerful CSS pre-processor, but it also very slow. We want use it only when we need it.
Usage
Directly use it without install it into your project:
Install as a devDependency and use it in your project:
How it works
.lessfile, use postcss to convert it to css file..css..js,.jsx,.ts,.tsxfile from.lessto.css.Example
You can see this example in
/test/example.Before
After