Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
less file dependency analysis,import file analysis,依赖分析,less parseSync
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
lessimport.js
package.json

README.md

lessimport

Install

npm install lessimport

Usage

var lessImport = require('lessimport'); 
//file you want to analysis
lessImport('index.less', 'utf-8');

//return:
[ 
  '/Users/xhowhy/dev/test/detail/src/page/itemDetail.less',
  '/Users/xhowhy/dev/test/detail/src/css/base.less',
  '/Users/xhowhy/dev/test/detail/src/sku/regionSell.less',
  '/Users/xhowhy/dev/test/detail/src/body/brand.less' 
]

less file dependency analysis,import file analysis,依赖分析,parseSync

Something went wrong with that request. Please try again.