packages/okam-build/lib/build/swan/init-wx2swan-processor.js
function initStyleProcessor(opts) {
    registerProcessor({
        name: 'wxss2css',
        // using the existed postcss processor
        processor: 'postcss',
        extnames: ['wxss'],
        rext: 'css',
        options: opts || {
            plugins: [
                wxssPlugin
            ]
        }
    });
}
function initStyleProcessor(opts) {
    registerProcessor({
        name: 'wxss2css',
        // using the existed postcss processor
        processor: 'postcss',
        extnames: ['wxss'],
        rext: 'css',
        options: opts || {
            plugins: [
                wxssPlugin
            ]
        }
    });
}
function initStyleProcessor ( opts ) { registerProcessor ( { name : 'wxss2css' , // using the existed postcss processor processor : 'postcss' , extnames : [ 'wxss' ] , rext : 'css' , options : opts || { plugins : [ wxssPlugin ] } } ) ; }
Initialize wx style processor

@inner
@param {Object=} opts the processor init options
@param {Array=} opts.plugins the postcss plugins
Initialize wx style processor