0.1.3 • Published 6 years ago

wepy-plugin-image v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

wepy-plugin-image

支持wepy2插件根据图片大小转base64或者上传七牛

配置

pack-qiniu配置

0.1.x

支持wepy2.x

const wepyPluginImage = require('wepy-plugin-image');

// `wepy.config.js`
module.exports = {
  plugins: [
    wepyPluginImage,
  ],

0.0.x

支持wepy1.7.x

wepy.config.js

module.exports.plugins = {
  image: {
    debugMode, // 用于显示调试显示
    limit: 10240, // 大于10kb
  },
}

TODO

  • 测试用例
  • 去除脚手架生成的webpack
0.1.3

6 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago