Skip to content

Commit b6e8e20

Browse files
committed
removing default config
1 parent 0a5706e commit b6e8e20

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

vnext/template/metro.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
1+
const {mergeConfig} = require('@react-native/metro-config');
22

33
const fs = require('fs');
44
const path = require('node:path');
@@ -51,4 +51,4 @@ const config = {
5151
},
5252
};
5353

54-
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
54+
module.exports = mergeConfig(config);

vnext/templates/cpp-app/metro.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
1+
const {mergeConfig} = require('@react-native/metro-config');
22

33
const fs = require('fs');
44
const path = require('node:path');
@@ -51,4 +51,4 @@ const config = {
5151
},
5252
};
5353

54-
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
54+
module.exports = mergeConfig(config);

vnext/templates/cpp-lib/example/metro.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
1+
const { mergeConfig } = require('@react-native/metro-config');
22
const fs = require('fs');
33
const path = require('node:path');
44
const escape = require('escape-string-regexp');
@@ -71,4 +71,4 @@ const config = {
7171
},
7272
};
7373

74-
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
74+
module.exports = mergeConfig(config);

0 commit comments

Comments
 (0)