wepy spritesmith 插件
created by zilongjiang
wepy.config.js
配置const PluginSpriteSmith = require('@wepy-act/plugin-spritesmith');
module.exports = {
plugins: [
PluginSpriteSmith({
turnOn: true,
src: ['images/hero']
})
]
};
参数说明
有关 spritesmith
的更多详细信息,请参阅spritesmith文档。