1 Star 0 Fork 0

yzc_open/jitsi-meet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
metro.config.js 829 Bytes
一键复制 编辑 原始数据 按行查看 历史
Bettenbuk Zoltan 提交于 2019-08-30 18:39 . feat: SVG icons
/* eslint-disable */
/**
* Metro configuration for React Native
* https://github.com/facebook/react-native
*
* @format
*/
const { getDefaultConfig } = require('metro-config');
module.exports = (async () => {
const {
resolver: {
sourceExts,
assetExts
}
} = await getDefaultConfig();
return {
transformer: {
babelTransformerPath: require.resolve('react-native-svg-transformer'),
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: false,
},
}),
},
resolver: {
assetExts: assetExts.filter(ext => ext !== 'svg'),
sourceExts: [...sourceExts, 'svg']
}
}
})();
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yzc_open/jitsi-meet.git
git@gitee.com:yzc_open/jitsi-meet.git
yzc_open
jitsi-meet
jitsi-meet
master

搜索帮助