Open Leyksnal opened 1 year ago
Having the same issue, it's react-app-rewired that caused the issue, I still don't know how to fix it,
Does anyone have an idea to fix this?
Finally, I've fixed it, in my case the issue is caused by an alias, I've removed it, and everything worked as intended:
{
"compilerOptions": {
"paths": {
"@components/*": ["./src/components/*"],
"@assets/*": ["./src/assets/*"],
"@api/*": ["./src/api/*"],
"@hooks/*": ["./src/hooks/*"],
"@pages/*": ["./src/pages/*"],
"@utils/*": ["./src/utils/*"],
- "@/*": ["./*"]
}
}
}
@medram ... in my case I am getting below error .. have no idea what's wrong with the webpack config
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
Error building with react-app-rewired