Learn how companies like Phone2Action are using npm in their front-end developmentJoin the conversation »

tst-import-less

1.0.1 • Public • Published

TypeScript Transformer Plugin

Transformer transpiling extensions of imported styles from less to css. Eg. import "./someStyleFile.less" to import "./someStyleFile.css"

This transformer is compatible with ttypescript. Add transformer to tsconfig.json

{
  "compilerOptions": {
    // ...
    "plugins": [
      { "transform": "tst-import-less", "after": false }
    ]
  }
}

Install

npm i tst-import-less

DownloadsWeekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

2.9 kB

Total Files

4

Last publish

Collaborators

  • avatar