.npmignore: rn-host-detect.ts

The presence of this file leads to a build error `[...]\node_modules\@redux-devtools\remote\src\rn-host-detect.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig fia the 'files or 'include' property.`

This can be solved by including a path to this specific file in my app's tsconfig.json file, but it's an inelegant solution - this would be the only file in node_modules that has to be included like that.
It doesn't actually serve any purpose in the deployed package, and the typings file would still be present.
This commit is contained in:
Sebastian 2022-01-25 10:45:11 +00:00 committed by GitHub
parent 6802f83946
commit c725a70abb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1 @@
src/rn-host-detect.ts