How to ship components with images properly
时间:2021-08-23 19:31:46
收藏:0
阅读:14
// tsdx.config.js const images = require(‘@rollup/plugin-image‘); module.exports = { rollup(config, options) { config.plugins = [ images({ include: [‘**/*.png‘, ‘**/*.jpg‘] }), ...config.plugins, ] return config }, }
原文:https://www.cnblogs.com/xulei1992/p/15176992.html
评论(0)