1.0.0 • Published 10 years ago

fis-preprocessor-extlang v1.0.0

Weekly downloads
16
License
MIT
Repository
github
Last release
10 years ago

fis-preprocessor-extlang

支持使用Smarty script, style 插件的JavaScript的语言扩展

{%script%}
    require('./a.js');
    __inline('./b.js');
    var a = __uri('./c.js');
    //blabla
{%/script%}

{%style%}
@import url(./a.css?__inline);
{%/style%}

使用

//install
npm install -g fis-preprocessor-extlang


//config
vi <project>/fis-conf.js

fis.merge.config({
    modules: {
        preprocessor: {
            tpl: "extlang"
        }
    },
    ....
});
0.0.9

9 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

1.0.0

11 years ago