okam-plugin-wx2swan

1.0.0 • Public • Published

okam-plugin-wx2swan

weixin to swan for okam(small program framework)

use

npm install okam-plugin-wx2swan --save-dev
// your.config.js

{

    processors: {
        babel: {
            extnames: ['js']
        },

        wx2swan: {
            processor: 'okam-plugin-wx2swan',
            extnames: ['wxml', 'wxss']
        }
    },
    rules: [
        {
            match(file) {
                return file.isNpmWxCompScript;
            },
            processors: ['wx2swan']
        }
    ]

}

Package Sidebar

Install

npm i okam-plugin-wx2swan

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.95 kB

Total Files

5

Last publish

Collaborators

  • xhong