Root paths (module resolution) throwing errors - Parcel v2 #5287
Unanswered
scottwillman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys,
Trying to move a project to Parcel2 from webpack and keep failing on module resolution of js and scss files. I have paths to a
common
directory in the root of the project that don't seem to get resolved despite the docs saying/foo
should resolve to the project root. Is this a bug or am I doing something wrong?Example 1:
This looks like it might be trying to resolve to the local
common
directory (note the missing leading slash from the error)Example 2:
Directory Structure
package.json
Beta Was this translation helpful? Give feedback.
All reactions