New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Absolute Paths #333
Comments
was able to resolve this with
|
something like this? |
also this is override the default configuration of .babelrc from create react app? |
This was referenced Apr 15, 2021
This was referenced Aug 17, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works
Throws error
Module not found: Error: Cannot resolve 'file' or 'directory'
Some of my components have absolute paths in the import statement, and this breaks the story too. Is there a workaround other than doing
../../../../
etc?I tried using https://github.com/mantrajs/babel-root-slash-import but began getting the
Uncaught SyntaxError: Unexpected token import
issue after adding that package and.babelrc
file withThe text was updated successfully, but these errors were encountered: