postcss-assets-urls
PostCSS plugin for uploads local images to the CDN.
}
}
Usage
;
Config with tarojs
weapp: module: postcss: // "postcss-flexbugs-fixes": { // enable: true // } autoprefixer: enable: true "postcss-assets-urls": enable: true config: baseUrl: "https://bucket.oss-cn-shenzhen.aliyuncs.com" oss: accessKeyId: "accessKeyId" accessKeySecret: "accessKeySecret" bucket: "bucket" endpoint: "https://oss-cn-shenzhen.aliyuncs.com" https: true delDistImg: false region: "oss-cn-shenzhen"