You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Otherwise, this function always returns false. You can easily test it like this:
module.exports=functionoverride(config){constconfigCopy=JSON.parse(JSON.stringify(config));aliasDangerous({
...configPaths('tsconfig.paths.json')})(config);console.log("These should be equivalent:")console.log(configCopy.module.rules[1].include);console.log(config.module.rules[1].include);returnconfig;}
Also note that you might have cache pollution and need to delete the .cache folder in node_modules. I opened a new PR with the fix for the fix and some documentation.
@oklas This almost works, but there is one bug:
Otherwise, this function always returns false. You can easily test it like this:
Also note that you might have cache pollution and need to delete the
.cache
folder innode_modules
. I opened a new PR with the fix for the fix and some documentation.Originally posted by @JollyGoodHolly in oklas/react-app-rewire-alias#3 (comment)
The text was updated successfully, but these errors were encountered: