[FIX]Set configPaths options empty object by default#84
Conversation
Why add a PR ?Because I got the following error : Now able to do :Instead of : |
|
Hi! This is good. But your linting tool did rewrite the entire file. So I even do not see where is the change. Could you please disable linter and force push the changes again. So it will have only the change that actually implement the feature. I will be happy to merge. Also check if |
|
@oklas Sorry about that. Had to disable my linter ^^. It is dependant on |
|
Looks good. But it will be not noticed by rollout due to another commit convention (it uses angular commit convention). It requires commit message to be as "fix: set" instead of "[FIX]Set". Else it will not be considered as a reason to release new version. |
The configPaths option can be empty by default and use the default attributes for tsconfig.json or jsconfig.json. Thus the options object should be allowed to be undefined so that we don't overload the config with an empty object if we don't need to define another path for ts/jsonconfig.
|
Should be good now @oklas |
|
🎉 This PR is included in version react-app-alias-v2.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
The configPaths option can be empty by default and use the default
attributes for tsconfig.json or jsconfig.json. Thus the options
object should be allowed to be undefined so that we don't overload
the config with an empty object if we don't need to define another
path for ts/jsonconfig.