Nitrogen Pumpkin Mulch

    wepy-plugin-image

    0.1.3 • Public • Published

    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

    Keywords

    none

    Install

    npm i wepy-plugin-image

    DownloadsWeekly Downloads

    1

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    8.9 kB

    Total Files

    3

    Last publish

    Collaborators

    • huixisheng