Skip to content

Commit

Permalink
fix(react-native): should not include ts in build (#26352)
Browse files Browse the repository at this point in the history
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #22948
  • Loading branch information
xiongemi authored Jun 4, 2024
1 parent 0105fd2 commit 9c2162f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/shared/mental-model/large-tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3031,7 +3031,7 @@
},
{
"input": "packages/react-native/src",
"glob": "**/*.!(ts)",
"glob": "**/!(*.ts)",
"output": "/src"
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/shared/recipes/include-assets-in-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ There are two ways to identify assets to be copied into the output bundle:
"path-to-my-project/*.md",
{
"input": "./path-to-my-project/src", // look in the src folder
"glob": "**/*.!(ts)", // for any file (in any folder) that is not a typescript file
"glob": "**/!(*.ts)", // for any file (in any folder) that is not a typescript file
"output": "./src" // put those files in the src folder of the output bundle
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
{
"input": "packages/react-native/src",
"glob": "**/*.!(ts)",
"glob": "**/!(*.ts)",
"output": "/src"
},
{
Expand Down

0 comments on commit 9c2162f

Please sign in to comment.