ype

yogurt-preprocessor-extlang

An fis preproccessor plugin for parse swig custom tags.

Showing:

Popularity

Downloads/wk

16

Maintenance

No Maintenance Data Available

Package

Dependencies

0

Size (min+gzip)

0.9KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

yogurt-preprocessor-extlang

An fis preproccessor plugin for parse swig custom tags.

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

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

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

使用

// install
npm install -g yogurt-preprocessor-extlang
// config
vi <project>/fis-conf.js

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100