From c725a70abb291487c4982d14d4ff777d8a27730e Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 25 Jan 2022 10:45:11 +0000 Subject: [PATCH] .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. --- packages/redux-devtools-remote/.npmignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 packages/redux-devtools-remote/.npmignore diff --git a/packages/redux-devtools-remote/.npmignore b/packages/redux-devtools-remote/.npmignore new file mode 100644 index 00000000..cca86cb7 --- /dev/null +++ b/packages/redux-devtools-remote/.npmignore @@ -0,0 +1 @@ +src/rn-host-detect.ts