mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-12-04 01:08:11 +00:00
Update config.yml
Update Fastfile
Update Fastfile
Update Fastfile
trying out gradle build scans
Revert "trying out gradle build scans"
This reverts commit 4a0f412025.
maxWorker 2
Update Fastfile
Update Fastfile
removes gradle cache step
revert changes
Update Fastfile
test
Update Fastfile
Update config.yml
Update Fastfile
Update @sentry+react-native+4.6.0.patch
Create @sentry+react-native+4.6.0.patch
update patch package
27 lines
805 B
JavaScript
27 lines
805 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
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: true,
|
|
},
|
|
}),
|
|
},
|
|
resolver: {
|
|
assetExts: assetExts.filter((ext) => ext !== 'svg'),
|
|
sourceExts: [...sourceExts, 'svg'],
|
|
},
|
|
maxWorkers: 2,
|
|
};
|
|
})();
|