okam-plugin-wx2swan
v1.0.0
Published
weixin to swan for okam(small program framework)
Downloads
4
Maintainers
Readme
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']
}
]
}