-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bob): add exclude option to config (#450)
### Summary This adds the possibility to pass custom ignore patterns while working with builder bob. ### Test plan 1. Create a new library using `create-react-native-library`. You can select `Native module`, and `Kotlin & Swift` options. 2. Go to `package.json`, and find the `react-native-builder-bob` section 3. Replace `commonjs` target as following: ```json { "exclude": "**/ignore_me/**" "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } ``` 4. Create a new folder named `src/ignore_me` and put `.ts` files inside it 5. Build the library and make sure the files inside the `ignore_me` aren't included in the `commonjs` and `module` targets.
- Loading branch information
Showing
6 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters