0.0.1 • Published 5 years ago

@saber2pr/mv-less v0.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

@saber2pr/mv-less

compile and move less files to anthor directory.

yarn add @saber2pr/mv-less -D

Usage

mvLess <fromDir> <toDir>

mvLess src lib

Why

tsc compiler cannot help you to copy files which's extname is not '.ts' to outDir.

here is one case:

from

src
|-component1
| |-index.ts
| |-style.less
|
|-component1
  |-index.ts
  |-style.less

to

lib
|-component1
| |-index.js
| |-style.css
|
|-component1
  |-index.js
  |-style.css

Author

saber2pr