Skip to content

Commit

Permalink
build: exclude redundant build outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mym0404 committed Mar 15, 2024
1 parent 0e487c3 commit fed800b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,15 @@
"source": "src/index.ts",
"module": "lib/module/index.js",
"react-native-builder-bob": {
"declarationMap": false,
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
],
"exclude": ["**/{__tests__,__fixtures__,__mocks__}/**", "**/*.test.*"]
},
"config": {
"commitizen": {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"rootDir": "src",
"skipLibCheck": true
},
"include": ["src/**/*.ts", "src/**/*.tsx"]
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["**/*.test.*", "node_modules"]
}

0 comments on commit fed800b

Please sign in to comment.