JSPM

mini-less-cli

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q12246F
  • License MIT

compile less or scss into acss

Package Exports

  • mini-less-cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mini-less-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

微信或支付宝小程序中将less编译成acss

This project is fork from https://github.com/echo008/wxss-cli and changed by Hranharry, Thinks to Origin Author Echo

安装

$ npm install -g mini-less-cli

使用

demo 为开发目录

-a 选项生成支付宝acss
$ mini-less -a ./demo
-w 选项生成微信wxss
$ mini-less -w ./demo

项目会自动监听less文件变更并生成对应样式文件

如果觉得不错,请动动您的小拇指,star一下

License

MIT