Open DavidHe1127 opened 5 years ago
Ive found it's actually because I am not setting NODE_PATH whose value is assigned to nodePath
in the library.
I think it should parameterise nodePath
rather than relying on env var.
Note, jsconfig.json is preferred way of setting the path in the recent versions of react-script
.
Setting NODE_PATH to resolve modules absolutely has been deprecated in favor of setting baseUrl in jsconfig.json
If you think it's a proposed solution I can open a PR for this.
While react-app-rewired start works but react-app-rewired build complains about gql modules.
Any idea?