Skip to content

Commit d5533f6

Browse files
committed
Merge branch 'shamilovtim-fix-hmr-errors' into main
2 parents d7ccd9c + ead64b2 commit d5533f6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/create-react-native-library/templates/example/example/babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module.exports = {
77
[
88
'module-resolver',
99
{
10+
extensions: ['.js', '.ts', '.json', '.jsx', '.tsx'],
1011
alias: {
1112
[pak.name]: path.join(__dirname, '..', pak.source),
1213
},

packages/create-react-native-library/templates/expo-library/example/babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = function (api) {
1010
[
1111
'module-resolver',
1212
{
13+
extensions: ['.js', '.ts', '.json', '.jsx', '.tsx'],
1314
alias: {
1415
// For development, we want to alias the library to the source
1516
[pak.name]: path.join(__dirname, '..', pak.source),

0 commit comments

Comments
 (0)