Skip to content

Commit c306308

Browse files
authored
[core] don't build & include rsc_tests (expo#41422)
# Why Having `__rsc_tests__` is build output is not desired. # How - exclude `__rsc_tests__` from build # Test Plan - green check-packages check # Checklist <!-- Please check the appropriate items below if they apply to your diff. --> - [ ] I added a `changelog.md` entry and rebuilt the package sources according to [this short guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
1 parent a9e1072 commit c306308

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

packages/expo-modules-core/build/__rsc_tests__/index.test.d.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/expo-modules-core/build/__rsc_tests__/index.test.d.ts.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/expo-modules-core/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"emitDeclarationOnly": true
66
},
77
"include": ["./src"],
8-
"exclude": ["**/__mocks__/*", "**/__tests__/*"]
8+
"exclude": ["**/__mocks__/*", "**/__tests__/*", "**/__rsc_tests__/*"]
99
}

0 commit comments

Comments
 (0)