File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed
Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -168,38 +168,6 @@ jobs:
168168 exit 1
169169 fi
170170
171- - name : 📋 Update metro.config.js for SVG support
172- run : |
173- if [ -f ./metro.config.js ]; then
174- echo "Creating backup of metro.config.js"
175- cp ./metro.config.js ./metro.config.js.backup
176- echo "Updating metro.config.js to CommonJS format"
177- cat > ./metro.config.js << 'EOFMARKER'
178- /* eslint-disable @typescript-eslint/no-var-requires */
179- const { getDefaultConfig } = require('expo/metro-config');
180-
181- const config = getDefaultConfig(__dirname);
182-
183- const { transformer, resolver } = config;
184-
185- config.transformer = {
186- ...transformer,
187- babelTransformerPath: require.resolve('react-native-svg-transformer/expo'),
188- };
189-
190- config.resolver = {
191- ...resolver,
192- assetExts: resolver.assetExts.filter(ext => ext !== 'svg'),
193- sourceExts: [...resolver.sourceExts, 'svg'],
194- };
195-
196- module.exports = config;
197- EOFMARKER
198- echo "metro.config.js updated to CommonJS format"
199- else
200- echo "metro.config.js not found"
201- fi
202-
203171 - name : 📱 Build Development APK
204172 if : github.event.inputs.buildType == 'all' || github.event.inputs.buildType == 'dev' || github.event_name == 'push' && (matrix.platform == 'android' || github.event.inputs.platform == 'all' || github.event.inputs.platform == 'android')
205173 run : |
You can’t perform that action at this time.
0 commit comments