fis-preprocessor-pathcheck

0.0.3 • Public • Published

FIS 路径检查插件

检查js,css,html,tpl文件中路径。无效路径报warning。

使用

$ npm install -g fis-preprocessor-pathcheck
$ vi path/to/project/fis-conf.js
//configure plugin
fis.config.get('modules.preprocessor.js').unshift('pathcheck');
fis.config.get('modules.preprocessor.css').unshift('pathcheck');
fis.config.get('modules.preprocessor.html').unshift('pathcheck');
fis.config.get('modules.preprocessor.tpl').unshift('pathcheck');
 
//configure plugin settings
fis.cofnig.set('settings.preprocessor.pathcheck', {
    //ignored some files
    //ignored : 'static/libs/**.js',
    ignored : [ 'static/libs/**.js', /jquery\.js$/i ]
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    2
  • 0.0.2
    2
  • 0.0.1
    2

Package Sidebar

Install

npm i fis-preprocessor-pathcheck

Weekly Downloads

6

Version

0.0.3

License

B.S.D

Last publish

Collaborators

  • lily-zhangying